Author: cy
Date: Wed Sep 30 08:26:00 2020
New Revision: 366285
URL: https://svnweb.freebsd.org/changeset/base/366285

Log:
  Resurrect ipfilter's getifname, replacing the stub with the real
  function.
  
  MFC after:    2 months

Modified:
  head/contrib/ipfilter/lib/getifname.c

Modified: head/contrib/ipfilter/lib/getifname.c
==============================================================================
--- head/contrib/ipfilter/lib/getifname.c       Wed Sep 30 08:23:43 2020        
(r366284)
+++ head/contrib/ipfilter/lib/getifname.c       Wed Sep 30 08:26:00 2020        
(r366285)
@@ -16,7 +16,6 @@
  * Given a pointer to an interface in the kernel, return a pointer to a
  * string which is the interface name.
  */
-#if 0
 char *getifname(ptr)
        struct ifnet *ptr;
 {
@@ -80,13 +79,3 @@ char *getifname(ptr)
 # endif
 #endif
 }
-#else
-char *getifname(ptr)
-       struct ifnet *ptr;
-{
-#if 0
-       ptr = ptr;
-#endif
-       return "X";
-}
-#endif
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to