1 --- wifidog-1.1.5/src/firewall.c 2008-08-29 22:44:57.000000000 +0200
2 +++ wifidog-1.1.5-fixed/src/firewall.c 2008-08-29 22:45:46.000000000 +0200
5 /* Find ip, copy mac in reply */
7 - while (!feof(proc) && (fscanf(proc, " %15[0-9.] %*s %*s %17[A-F0-9:] %*s %*s", ip, mac) == 2)) {
8 + while (!feof(proc) && (fscanf(proc, " %15[0-9.] %*s %*s %17[A-Fa-f0-9:] %*s %*s", ip, mac) == 2)) {
9 if (strcmp(ip, req_ip) == 0) {
10 reply = safe_strdup(mac);