projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace the kernel's implicit network routes if the metric is set
[project/netifd.git]
/
interface-ip.h
diff --git
a/interface-ip.h
b/interface-ip.h
index
ae5a63e
..
d206eca
100644
(file)
--- 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 {