diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-12 00:52:30 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-12 16:03:44 +0200 |
commit | bd40c341ee28aa73ffc1eee576a209366cf16271 (patch) | |
tree | b990f22cfbb54baa1c0cf8761d1d74adde9d5dbb /lib/if.h | |
parent | "ip protocol" is missing ospf as an option (diff) | |
download | frr-bd40c341ee28aa73ffc1eee576a209366cf16271.tar.xz frr-bd40c341ee28aa73ffc1eee576a209366cf16271.zip |
lib: refactor connected_lookup_prefix
The connected_lookup_address function should really
be a connected_lookup_prefix function. Refactor
the code to use it.
Ticket: CM-10890
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r-- | lib/if.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -350,8 +350,8 @@ extern struct connected *connected_add_by_prefix (struct interface *, struct prefix *); extern struct connected *connected_delete_by_prefix (struct interface *, struct prefix *); -extern struct connected *connected_lookup_address (struct interface *, - struct in_addr); +extern struct connected *connected_lookup_prefix (struct interface *, + struct prefix *); extern struct nbr_connected *nbr_connected_new (void); extern void nbr_connected_free (struct nbr_connected *); struct nbr_connected *nbr_connected_check (struct interface *, struct prefix *); |