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.
This commit is contained in:
ajs 2005-04-02 23:23:55 +00:00
parent 21fefa9843
commit e4319de388
5 changed files with 10 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf6_interface.[ch]: (ospf6_interface_lookup_by_name) Remove unused
function.
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf6_zebra.c: (ospf6_zebra_if_del) Previously, this whole function * ospf6_zebra.c: (ospf6_zebra_if_del) Previously, this whole function

View File

@ -71,20 +71,6 @@ ospf6_interface_lookup_by_ifindex (int ifindex)
return oi; 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 */ /* schedule routing table recalculation */
void void
ospf6_interface_lsdb_hook (struct ospf6_lsa *lsa) ospf6_interface_lsdb_hook (struct ospf6_lsa *lsa)

View File

@ -125,7 +125,6 @@ extern const char *ospf6_interface_state_str[];
/* Function Prototypes */ /* Function Prototypes */
struct ospf6_interface *ospf6_interface_lookup_by_ifindex (int); struct ospf6_interface *ospf6_interface_lookup_by_ifindex (int);
struct ospf6_interface *ospf6_interface_lookup_by_name (char *);
struct ospf6_interface *ospf6_interface_create (struct interface *); struct ospf6_interface *ospf6_interface_create (struct interface *);
void ospf6_interface_delete (struct ospf6_interface *); void ospf6_interface_delete (struct ospf6_interface *);

View File

@ -1,3 +1,8 @@
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.
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf_zebra.c: (zebra_interface_if_lookup) Must use * ospf_zebra.c: (zebra_interface_if_lookup) Must use

View File

@ -208,7 +208,6 @@ int ospf_if_down (struct ospf_interface *);
int ospf_if_is_up (struct ospf_interface *); int ospf_if_is_up (struct ospf_interface *);
struct ospf_interface *ospf_if_exists (struct ospf_interface *); struct ospf_interface *ospf_if_exists (struct ospf_interface *);
struct ospf_interface *ospf_if_lookup_by_name (char *);
struct ospf_interface *ospf_if_lookup_by_local_addr (struct ospf *, struct ospf_interface *ospf_if_lookup_by_local_addr (struct ospf *,
struct interface *, struct interface *,
struct in_addr); struct in_addr);