diff options
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index f66dbad2..b382df07 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -637,7 +637,7 @@ ospf_reconfigure(struct proto *p, struct proto_config *c) { /* Now reconfigure interface */ if (!(newip = (struct ospf_iface_patt *) - iface_patt_match(&oldac->patt_list, ifa->iface))) + iface_patt_match(&newac->patt_list, ifa->iface))) return 0; /* HELLO TIMER */ @@ -672,6 +672,16 @@ ospf_reconfigure(struct proto *p, struct proto_config *c) schedule_rt_lsa(ifa->oa); } + /* RX BUFF */ + if (oldip->rxbuf != newip->rxbuf) + { + ifa->rxbuf = newip->rxbuf; + OSPF_TRACE(D_EVENTS, + "Changing rxbuf interface %s from %d to %d", + ifa->iface->name, oldip->rxbuf, newip->rxbuf); + ospf_iface_change_mtu(po, ifa); + } + /* strict nbma */ if ((oldip->strictnbma == 0) && (newip->strictnbma != 0)) { |