]> granicus.if.org Git - libnl/commit
Replace RTNL_LINK_NOT_FOUND with just 0
authorThomas Graf <tgr@lsx.localdomain>
Wed, 14 May 2008 16:34:39 +0000 (18:34 +0200)
committerThomas Graf <tgr@lsx.localdomain>
Wed, 14 May 2008 16:34:39 +0000 (18:34 +0200)
commitb4fbe1d34d6f54045b5c6236d86aacd4340ec83d
tree5f0d8a6fc7d399388f983a069f2c0ac087022e93
parenteed2afaab7aa72fae393a395a8879b91a922ff5e
Replace RTNL_LINK_NOT_FOUND with just 0

The interface index 0 is reserved and can be safely used to
signal that the device does not exist.
include/netlink/route/link.h
lib/route/addr.c
lib/route/link.c
lib/route/neigh.c
lib/route/tc.c