Commit debb638a authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

mdnssd: handle if indexes larger than one byte

fixes upstream bug

Change-Id: I7e1bc29ca293f25ffe837f5788bf7bc94e87e1c5
Reviewed-by: default avatarChristian Kandeler <>
parent 5d782df3
......@@ -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",
&index, &plen, &scope, &flags, ifname) != EOF) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment