From 2c1685f369220a8afac3c44b29739f95bda6f039 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 30 Sep 2020 08:26:00 +0000 Subject: Resurrect ipfilter's getifname, replacing the stub with the real function. MFC after: 2 months --- contrib/ipfilter/lib/getifname.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'contrib') 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 -- cgit v1.2.3