summaryrefslogtreecommitdiff
path: root/ospfd/ospf_network.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-12-07 13:21:45 -0200
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-08 12:50:25 +0100
commitde587d745e3b8b75cf92b2bff78af370adddb39f (patch)
tree4677ff51ed2c85ad085af409ba06da6067b68cc3 /ospfd/ospf_network.h
parent4743c4e4dfcbadc711f41508ebf6f17ed3253b1b (diff)
ospfd: set the OSPF socket's send buffer size only once
This reverts commit b7fe4141, which introduced a logic where the OSPF send buffer size was dynamically updated to reflect the maximum MTU of the OSPF enabled interfaces (this was done to make ospfd work with interfaces configured for jumbo frames). Since commit a78d75b0, this is not necessary anymore because ospf_sock_init() now sets the OSPF send buffer size to a very high value (8MB). Also, the previous logic was broken because it didn't account for run-time interface MTU changes. Signed-off-by: Renato Westphal <renato@opensourcerouting.org> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_network.h')
-rw-r--r--ospfd/ospf_network.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ospfd/ospf_network.h b/ospfd/ospf_network.h
index 8257adb4af..bc01a84325 100644
--- a/ospfd/ospf_network.h
+++ b/ospfd/ospf_network.h
@@ -34,6 +34,5 @@ extern int ospf_if_drop_alldrouters (struct ospf *, struct prefix *,
ifindex_t);
extern int ospf_if_ipmulticast (struct ospf *, struct prefix *, ifindex_t);
extern int ospf_sock_init (void);
-extern void ospf_adjust_sndbuflen (struct ospf *, unsigned int);
#endif /* _ZEBRA_OSPF_NETWORK_H */