diff options
author | ajs <ajs> | 2005-04-02 23:23:55 +0000 |
---|---|---|
committer | ajs <ajs> | 2005-04-02 23:23:55 +0000 |
commit | 723cd56cd7b3da6770ce3d99d47e2bc8b783a441 (patch) | |
tree | 1388233b9fbfe6cd33dccf86447dc9a8aacae915 /ospf6d/ospf6_interface.c | |
parent | 8802308f6ac2c117cee12cd62bc962b58fea077e (diff) | |
download | quagga-723cd56cd7b3da6770ce3d99d47e2bc8b783a441.tar.bz2 quagga-723cd56cd7b3da6770ce3d99d47e2bc8b783a441.tar.xz |
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
function that does not exist.
* ospf6_interface.[ch]: (ospf6_interface_lookup_by_name) Remove unused
function.
Diffstat (limited to 'ospf6d/ospf6_interface.c')
-rw-r--r-- | ospf6d/ospf6_interface.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 8a7ef1b0..d4180d92 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -71,20 +71,6 @@ ospf6_interface_lookup_by_ifindex (int ifindex) return oi; } -struct ospf6_interface * -ospf6_interface_lookup_by_name (char *ifname) -{ - struct ospf6_interface *oi; - struct interface *ifp; - - ifp = if_lookup_by_name (ifname); - if (ifp == NULL) - return (struct ospf6_interface *) NULL; - - oi = (struct ospf6_interface *) ifp->info; - return oi; -} - /* schedule routing table recalculation */ void ospf6_interface_lsdb_hook (struct ospf6_lsa *lsa) |