svn commit: r366285 - head/contrib/ipfilter/lib
Cy Schubert
cy at FreeBSD.org
Wed Sep 30 08:26:00 UTC 2020
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
More information about the svn-src-all
mailing list