diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-18 02:53:05 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-18 02:53:05 +0400 |
commit | 2851082d5d0e8552014ddd47af433c1c606c963b (patch) | |
tree | eee0d696220c9bfd695e5fa902e82db72e6b9c90 /networking/interface.c | |
parent | 49a128a1565520069737ae9602155d8627d7c84c (diff) |
ifconfig: make it work with ifaces with ifnames > 255
Diffstat (limited to 'networking/interface.c')
-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 ea02f4cc9..79f79c987 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 |