On 6/29/2016 10:56 AM, Vincent JARDIN wrote:
Le 29/06/2016 16:56, Paul Jakma a écrit :
* ospf_vty.c: (ip_ospf_network) This function changes the interface type
and only then downs/ups the interface if already up. So the down
happens
with the interface type already altered. However, the interface type
can have major ramifications for how underlying state is
stored/indexed,
which may cause problems.
Further, bit of an encapsulation violation to twiddle state here.
(no_ip_ospf_network) ditto.
* ospf_interface.c: (ospf_if_reset_type) New function to reset the OSPF
interface type on an interface. Ensure the interface is downed before
the type is changed.
* ospf_interface.h: (ospf_if_reset_type) Export, for ospf_vty.c
Excellent!
Acked-by: Vincent Jardin <[email protected]>
Acked-by: Jafar Al-Gharaibeh
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev