diff options
Diffstat (limited to 'networking/libiproute/ll_addr.c')
-rw-r--r-- | networking/libiproute/ll_addr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c index f59831cc1..c2c01305d 100644 --- a/networking/libiproute/ll_addr.c +++ b/networking/libiproute/ll_addr.c | |||
@@ -22,8 +22,9 @@ const char* FAST_FUNC ll_addr_n2a(unsigned char *addr, int alen, int type, char | |||
22 | int i; | 22 | int i; |
23 | int l; | 23 | int l; |
24 | 24 | ||
25 | if (alen == 4 && | 25 | if (alen == 4 |
26 | (type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE)) { | 26 | && (type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE) |
27 | ) { | ||
27 | return inet_ntop(AF_INET, addr, buf, blen); | 28 | return inet_ntop(AF_INET, addr, buf, blen); |
28 | } | 29 | } |
29 | l = 0; | 30 | l = 0; |