summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.h
diff options
context:
space:
mode:
authorlynne <lynne@voltanet.io>2021-05-04 11:06:49 -0400
committerlynne <lynne@voltanet.io>2021-05-11 09:43:07 -0400
commitf85b76195aeeb80b6f834da32459a05e297a0a78 (patch)
treed04aaa357a21c9a76c930813aaaa7850c85a4eb4 /ospf6d/ospf6_interface.h
parent449e54fd12372273dcac68781eb77c1297aeb2ba (diff)
ospf6d: Limit the number of interface addresses being supported
The code had no limits on addresses configured on an interface running ospf6d. The code would crash when more than 100 addresses were added. This change limits the number of interface address to 100 if mtu is set to the default value. If the mtu is set to a jumbo packet size or larger we will support 200 interface addresses. Signed-off-by: Lynne Morrison <lynne@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6_interface.h')
-rw-r--r--ospf6d/ospf6_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h
index a45a841406..48b2cbff74 100644
--- a/ospf6d/ospf6_interface.h
+++ b/ospf6d/ospf6_interface.h
@@ -188,6 +188,7 @@ extern void ospf6_interface_disable(struct ospf6_interface *);
extern void ospf6_interface_if_add(struct interface *);
extern void ospf6_interface_state_update(struct interface *);
extern void ospf6_interface_connected_route_update(struct interface *);
+extern void ospf6_interface_connected_route_add(struct connected *);
/* interface event */
extern int interface_up(struct thread *);