Resurrect ipfilter's getifname, replacing the stub with the real

function.

MFC after:	2 months
This commit is contained in:
Cy Schubert 2020-09-30 08:26:00 +00:00
parent 0d3aa0fb64
commit 2c1685f369
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366285

View File

@ -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