summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_interface.h
diff options
context:
space:
mode:
authorDmitrij Tejblum <tejblum@yandex-team.ru>2011-04-22 19:27:54 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-04-22 19:27:54 +0400
commitd42306d98fa327eb0ea6094cc6d6ae9202a07475 (patch)
tree00b8b426615925a6f3b17592cfe8e8032463aafc /ospf6d/ospf6_interface.h
parent8dd1a8daae0b15065d54c46f82d44d21aa7a2320 (diff)
downloadquagga-d42306d98fa327eb0ea6094cc6d6ae9202a07475.tar.bz2
quagga-d42306d98fa327eb0ea6094cc6d6ae9202a07475.tar.xz
ospf6d: copy "mtu-ignore" option from ospfd
"mtu-ignore" is an option ospfd used to mimic from the vendor's implementation, now ospf6d will also implement it. * ospf6_interface.h: extend ospf6_interface structure by one flag * ospf6_interface.c: (ipv6_ospf6_mtu_ignore, no_ipv6_ospf6_mtu_ignore): new declarations; (ospf6_interface_create): show initial value for consistency; (ospf6_interface_show): print flag status * ospf6_message.c: (ospf6_dbdesc_recv): consider interface-specific flag when checking MTU
Diffstat (limited to 'ospf6d/ospf6_interface.h')
-rw-r--r--ospf6d/ospf6_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h
index 878c29e2..cf758c07 100644
--- a/ospf6d/ospf6_interface.h
+++ b/ospf6d/ospf6_interface.h
@@ -76,6 +76,9 @@ struct ospf6_interface
/* OSPF6 Interface flag */
char flag;
+ /* MTU mismatch check */
+ u_char mtu_ignore;
+
/* Decision of DR Election */
u_int32_t drouter;
u_int32_t bdrouter;