diff options
author | Dmitrij Tejblum <tejblum@yandex-team.ru> | 2011-04-22 19:27:54 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-07-12 17:41:38 +0400 |
commit | ab1be8a20de4db0d17e28483660627fd843845f1 (patch) | |
tree | fd1b0974f7e89411cd72a0ffaba13762c8b8b097 /ospf6d/ospf6_interface.h | |
parent | 878715cc78de825894d83458b7c8bd68e3f347cc (diff) |
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.h | 3 |
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; |