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/11/contrib/ipfilter/lib/getifname.c Directory Properties: stable/11/ (props changed) Changes in other areas also in this revision: Modified: stable/12/contrib/ipfilter/lib/getifname.c Directory Properties: stable/12/ (props changed) Modified: stable/11/contrib/ipfilter/lib/getifname.c ============================================================================== --- stable/11/contrib/ipfilter/lib/getifname.c Mon Nov 30 22:16:11 2020 (r368200) +++ stable/11/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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"