svn commit: r368201 - in stable: 11/contrib/ipfilter/lib 12/contrib/ipfilter/lib
Cy Schubert
cy at FreeBSD.org
Mon Nov 30 22:35:31 UTC 2020
Author: cy
Date: Mon Nov 30 22:35:30 2020
New Revision: 368201
URL: https://svnweb.freebsd.org/changeset/base/368201
Log:
MFC r366285:
Resurrect ipfilter's getifname, replacing the stub with the real
function.
Modified:
stable/12/contrib/ipfilter/lib/getifname.c
Directory Properties:
stable/12/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/11/contrib/ipfilter/lib/getifname.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/12/contrib/ipfilter/lib/getifname.c
==============================================================================
--- stable/12/contrib/ipfilter/lib/getifname.c Mon Nov 30 22:16:11 2020 (r368200)
+++ stable/12/contrib/ipfilter/lib/getifname.c Mon Nov 30 22:35:30 2020 (r368201)
@@ -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-stable
mailing list