mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 12:23:58 +00:00
Resurrect ipfilter's getifname, replacing the stub with the real
function. MFC after: 2 months
This commit is contained in:
parent
0d3aa0fb64
commit
2c1685f369
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366285
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue