diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-20 01:40:10 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-20 01:40:10 +0200 |
commit | 575b1fe1bc8f15e65d89a0905e1640277c17fadc (patch) | |
tree | 2862c096b2c5d6cc68cab57eed6a42141506e336 /interface-ip.h | |
parent | 0079ac42fcff0e703467c188c37db902ee8cead8 (diff) |
replace the kernel's implicit network routes if the metric is set
Diffstat (limited to 'interface-ip.h')
-rw-r--r-- | interface-ip.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/interface-ip.h b/interface-ip.h index ae5a63e..d206eca 100644 --- a/interface-ip.h +++ b/interface-ip.h @@ -26,7 +26,10 @@ enum device_addr_flags { DEVADDR_EXTERNAL = (1 << 2), /* route overrides the default interface metric */ - DEVROUTE_METRIC = (1 << 3) + DEVROUTE_METRIC = (1 << 3), + + /* route automatically added by kernel */ + DEVADDR_KERNEL = (1 << 4), }; union if_addr { |