diff options
author | Fawzi Mohamed <fawzi.mohamed@nokia.com> | 2012-06-12 21:44:44 +0200 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@nokia.com> | 2012-06-13 11:46:57 +0200 |
commit | debb638aa8256715aeb8dcee8675ad1e1dec7bef (patch) | |
tree | 1232182bde4616bc2a07ff124851c6be818fa871 /src | |
parent | 5d782df33f2ad68421df803ba23b2422691110c7 (diff) | |
download | qt-creator-debb638aa8256715aeb8dcee8675ad1e1dec7bef.tar.gz |
mdnssd: handle if indexes larger than one byte
fixes upstream bug
Change-Id: I7e1bc29ca293f25ffe837f5788bf7bc94e87e1c5
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/tools/mdnssd/mDNSUNP.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/mdnssd/mDNSUNP.c b/src/tools/mdnssd/mDNSUNP.c index 40acccbbe3..fc6c67d177 100755 --- a/src/tools/mdnssd/mDNSUNP.c +++ b/src/tools/mdnssd/mDNSUNP.c @@ -106,7 +106,7 @@ struct ifi_info *get_ifi_info_linuxv6(int family, int doaliases) goto gotError; } while (fscanf(fp, - "%4s%4s%4s%4s%4s%4s%4s%4s %02x %02x %02x %02x %8s\n", + "%4s%4s%4s%4s%4s%4s%4s%4s %x %x %x %x %s\n", addr[0],addr[1],addr[2],addr[3], addr[4],addr[5],addr[6],addr[7], &index, &plen, &scope, &flags, ifname) != EOF) { |