diff options
author | Denis Vlasenko | 2007-07-17 22:53:05 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-07-17 22:53:05 +0000 |
commit | 2851082d5d0e8552014ddd47af433c1c606c963b (patch) | |
tree | eee0d696220c9bfd695e5fa902e82db72e6b9c90 | |
parent | 49a128a1565520069737ae9602155d8627d7c84c (diff) | |
download | busybox-2851082d5d0e8552014ddd47af433c1c606c963b.zip busybox-2851082d5d0e8552014ddd47af433c1c606c963b.tar.gz |
ifconfig: make it work with ifaces with ifnames > 255
-rw-r--r-- | networking/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/interface.c b/networking/interface.c index ea02f4c..79f79c9 100644 --- a/networking/interface.c +++ b/networking/interface.c @@ -1012,7 +1012,7 @@ static void ife_print(struct interface *ptr) f = fopen(_PATH_PROCNET_IFINET6, "r"); if (f != NULL) { while (fscanf - (f, "%4s%4s%4s%4s%4s%4s%4s%4s %02x %02x %02x %02x %20s\n", + (f, "%4s%4s%4s%4s%4s%4s%4s%4s %08x %02x %02x %02x %20s\n", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7], &if_idx, &plen, &scope, &dad_status, devname) != EOF |