Comment 4 for bug 16538

Revision history for this message
Matt Zimmerman (mdz) wrote :

The code looks wrong; this '||' should almost certainly be an '&&', otherwise
the test is always true.

  /* Check the interface name and issue various pedantic warnings */
  if((!strcmp(ifnode->ifname, "eth0")) || (!strcmp(ifnode->ifname, "wlan0")))
    fprintf(stderr,
            "Warning: Interface name is `%s' at line %d, can't be mapped
reliably.\n",
            ifnode->ifname, linenum);