Skip to content

ip append (ignore dup / os error 22 file exists) #26

Open

Description

@journaux

rtnetlink does not have documentation on supporting ip route append ... cmdlet, which enables two default routes specified for any table (without using a metric) - hoping there might be a missing flag / feature for this lib that enables the same capability

Activity

  1. cathay4t commented on Feb 1, 2024

    @cathay4t
    Member

    I guess RouteAddRequest::message_mut().header.flags |= NLM_F_APPEND should works.

  2. cathay4t commented on Feb 1, 2024

    @cathay4t
    Member

    My bad. Above line will not work. This flag is for NetlinkMessage, not RouteNetlinkMesage

  3. cathay4t commented on Feb 1, 2024

    @cathay4t
    Member

    @journaux Can you try #52 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions