summaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-19 23:26:44 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-03-19 23:26:44 +0100
commita609b5e8f39b132ff72476761add46d263c4147f (patch)
tree788468b7b5ce0396cd9409e6c8dfcc78028e3178 /interface.h
parent257bfc6392bf8a1c215f0bd6889db4694a405c1d (diff)
add support for updating route metrics
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 750c0f2..f0b26f5 100644
--- a/interface.h
+++ b/interface.h
@@ -87,6 +87,8 @@ struct interface {
struct interface_ip_settings proto_ip;
struct interface_ip_settings config_ip;
+ int metric;
+
/* errors/warnings while trying to bring up the interface */
struct list_head errors;