This website works better with JavaScript.
Home
Help
Register
Sign In
mirrors
/
libowfat
mirror of
/home/gitosis/repositories/libowfat.git
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
be backwards compatible to legacy BSD constant naming
master
Felix von Leitner
17 years ago
parent
00dcef4652
commit
da9ef2552b
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
socket/socket_getifname.c
+ 5
- 0
socket/socket_getifname.c
View File
@ -7,6 +7,11 @@
#
include
"haven2i.h"
#
ifdef HAVE_N2I
/* legacy BSD name */
#
ifndef IF_NAMESIZE
#
define IF_NAMESIZE IFNAMSIZ
#
endif
static
char
ifname
[
IF_NAMESIZE
]
;
const
char
*
socket_getifname
(
uint32
_interface
)
{
Write
Preview
Loading…
Cancel
Save