]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/iproute.c
Preparation for 32 bit table IDs
authorPatrick McHardy <kaber@trash.net>
Thu, 10 Aug 2006 22:14:49 +0000 (00:14 +0200)
committerStephen Hemminger <shemminger@osdl.org>
Thu, 10 Aug 2006 23:11:53 +0000 (16:11 -0700)
commitbd4bcdad777a26c851e008fe79eb355c41f1f2fc
treed5a835e302054f132630e2b30d3aec1fd1c13be3
parente0b29fe7dd137f7b47eb7c64e7bd07282e7801a2
Preparation for 32 bit table IDs

[IPROUTE]: Preparation for 32 bit table IDs

The route table filter uses an integer for the table number and the value
-1 to represent cloned routes. For 32 bit table IDs it needs to become an
unsigned, so this won't work anymore. Introduce a new filter flag "cloned"
and use instead of filter.tb = -1.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
ip/iproute.c