]> granicus.if.org Git - libnl/commit
rtnl-addr: set ifa_flags when creating/updating address
authorThomas Haller <thaller@redhat.com>
Tue, 22 Oct 2013 08:38:14 +0000 (10:38 +0200)
committerThomas Graf <tgraf@suug.ch>
Tue, 22 Oct 2013 12:24:56 +0000 (14:24 +0200)
commit549010c52adc9baceacbd07f09f51f1a9de69f7d
tree6c53d712aac7d62c71670c50e607f94a7d1c052e
parentd976e2e62bdaca2530f87e97730d03f93f662226
rtnl-addr: set ifa_flags when creating/updating address

Set the address flags when creating/updating an address with
rtnl_addr_add/rtnl_addr_build_add_request. Before, the flags
were not passed on.

As of now, the flags except IFA_F_NODAD|IFA_F_HOMEADDRESS are ignored by
the kernel. Still pass them on without filtering.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
lib/route/addr.c