diff options
author | ajs <ajs> | 2005-03-29 19:03:49 +0200 |
---|---|---|
committer | ajs <ajs> | 2005-03-29 19:03:49 +0200 |
commit | a608bbf27b48b7bd5e63f1c46380a1c5288ba48a (patch) | |
tree | 5317bf773d9a90337fa9cef8ca24127f127dc2bc /ospfd/ospf_interface.h | |
parent | 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> (diff) | |
download | frr-a608bbf27b48b7bd5e63f1c46380a1c5288ba48a.tar.xz frr-a608bbf27b48b7bd5e63f1c46380a1c5288ba48a.zip |
2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* rt_netlink.c: (netlink_link_change) If the status of an
operative interface changes (e.g. MTU changes), the client
daemons should be notified by calling zebra_interface_up_update.
Previously, the information was being updated in zebra's
interface structure, but the clients were not notified of
changes to an operative interface.
* ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
interface changes, print a debug message and call ospf_if_reset()
to simulate down/up on the interface.
* ospf_interface.h: Declare new function ospf_if_reset().
* ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
and ospf_if_up for all ospf interfaces attached to an interface.
Diffstat (limited to 'ospfd/ospf_interface.h')
-rw-r--r-- | ospfd/ospf_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h index b49a3517f..b3fb3ba35 100644 --- a/ospfd/ospf_interface.h +++ b/ospfd/ospf_interface.h @@ -234,6 +234,9 @@ int ospf_if_is_enable (struct ospf_interface *); int ospf_if_get_output_cost (struct ospf_interface *); void ospf_if_recalculate_output_cost (struct interface *); +/* Simulate down/up on the interface. */ +extern void ospf_if_reset (struct interface *); + struct ospf_interface *ospf_vl_new (struct ospf *, struct ospf_vl_data *); struct ospf_vl_data *ospf_vl_data_new (struct ospf_area *, struct in_addr); struct ospf_vl_data *ospf_vl_lookup (struct ospf_area *, struct in_addr); |