summaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-01-24 00:52:32 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-01-24 00:52:32 +0100
commitc6b739e28f2b15789c95dd28af3f193ec8f67531 (patch)
tree231245e5c0429b4dda370fda67aa0dc5b2093fb4 /interface.h
parent5fefb43a4151ee99d4c78ebaf1807043e859021a (diff)
add a generic option for disabling the automatic default route on interfaces
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index e50ccf6..4580c5b 100644
--- a/interface.h
+++ b/interface.h
@@ -42,6 +42,7 @@ struct interface_user {
struct interface_ip_settings {
struct interface *iface;
bool enabled;
+ bool no_defaultroute;
struct vlist_tree addr;
struct vlist_tree route;