summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-09-30 08:26:00 +0000
committerCy Schubert <cy@FreeBSD.org>2020-09-30 08:26:00 +0000
commit2c1685f369220a8afac3c44b29739f95bda6f039 (patch)
tree3695bf06b3de09a1d9ee582919de5b6e569a5f17 /contrib
parent0d3aa0fb643e9c65f8f19d64574b419200a0cc8d (diff)
downloadsrc-test2-2c1685f369220a8afac3c44b29739f95bda6f039.tar.gz
src-test2-2c1685f369220a8afac3c44b29739f95bda6f039.zip
Resurrect ipfilter's getifname, replacing the stub with the real
function. MFC after: 2 months
Notes
Notes: svn path=/head/; revision=366285
Diffstat (limited to 'contrib')
-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