]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
authorajs <ajs>
Sat, 2 Apr 2005 23:23:55 +0000 (23:23 +0000)
committerajs <ajs>
Sat, 2 Apr 2005 23:23:55 +0000 (23:23 +0000)
* 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.

ospf6d/ChangeLog
ospf6d/ospf6_interface.c
ospf6d/ospf6_interface.h
ospfd/ChangeLog
ospfd/ospf_interface.h

index 61a2e4631ebece9c354b61b0b77eeeaad5840908..dc48ab7ba99a0260612f99b7b2f0ea10440c55ef 100644 (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>
 
        * ospf6_zebra.c: (ospf6_zebra_if_del) Previously, this whole function
index 8a7ef1b018de249b87766de9efaa9de89b733fbf..d4180d92ef43b65297557dad6919a7d67101edf2 100644 (file)
@@ -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)
index c6615d8c7740183b0cdccbf57218f22cf13412ca..fb93cedacdd81165ae81fc3638b7158f3797d961 100644 (file)
@@ -125,7 +125,6 @@ extern const char *ospf6_interface_state_str[];
 /* Function Prototypes */
 
 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 *);
 void ospf6_interface_delete (struct ospf6_interface *);
 
index d84d54b344879524236223b2d277a582d70a5ef4..89fb9b419cf0a785ce7ba7b52e5792cf15d52770 100644 (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>
 
        * ospf_zebra.c: (zebra_interface_if_lookup) Must use
index b3fb3ba3583495bf3d59c0219232ad4b9f8b2efe..d089297fb6b6ee32c5ab39f3cb2a99e8549e8e58 100644 (file)
@@ -208,7 +208,6 @@ int ospf_if_down (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_lookup_by_name (char *);
 struct ospf_interface *ospf_if_lookup_by_local_addr (struct ospf *,
                                                     struct interface *,
                                                     struct in_addr);