Moved the tests for socket existence here.
BTW, where do you exactly set the new buffer sizes?
This commit is contained in:
parent
4da25acb0a
commit
c33d4cad9f
1 changed files with 6 additions and 3 deletions
|
@ -433,8 +433,11 @@ ospf_if_notify(struct proto *p, unsigned flags, struct iface *iface)
|
||||||
struct ospf_packet *op;
|
struct ospf_packet *op;
|
||||||
struct ospf_neighbor *n;
|
struct ospf_neighbor *n;
|
||||||
OSPF_TRACE(D_EVENTS, "Changing MTU on interface %s.", iface->name);
|
OSPF_TRACE(D_EVENTS, "Changing MTU on interface %s.", iface->name);
|
||||||
|
if (ifa->hello_sk)
|
||||||
sk_reallocate(ifa->hello_sk);
|
sk_reallocate(ifa->hello_sk);
|
||||||
|
if (ifa->dr_sk)
|
||||||
sk_reallocate(ifa->dr_sk);
|
sk_reallocate(ifa->dr_sk);
|
||||||
|
if (ifa->ip_sk)
|
||||||
sk_reallocate(ifa->ip_sk);
|
sk_reallocate(ifa->ip_sk);
|
||||||
|
|
||||||
WALK_LIST(n,ifa->neigh_list)
|
WALK_LIST(n,ifa->neigh_list)
|
||||||
|
|
Loading…
Reference in a new issue