aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-11-30 22:35:30 +0000
committerCy Schubert <cy@FreeBSD.org>2020-11-30 22:35:30 +0000
commitd3c83048b7bd97bc6dc950d9471fb264610e6e4b (patch)
tree2d30d9274dbc7dfd7d9b088d80150fead044be52
parent46ecd24a0d72ece375e91fad7a672497ba9da41b (diff)
downloadsrc-d3c83048b7bd97bc6dc950d9471fb264610e6e4b.tar.gz
src-d3c83048b7bd97bc6dc950d9471fb264610e6e4b.zip
MFC r366285:
Resurrect ipfilter's getifname, replacing the stub with the real function.
Notes
Notes: svn path=/stable/11/; revision=368201
-rw-r--r--contrib/ipfilter/lib/getifname.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/contrib/ipfilter/lib/getifname.c b/contrib/ipfilter/lib/getifname.c
index dfba83b83c99..44b4f8b53899 100644
--- a/contrib/ipfilter/lib/getifname.c
+++ b/contrib/ipfilter/lib/getifname.c
@@ -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