wifidog / wifidog-gateway

Repository for the wifidog-gateway captive portal designed for embedded systems
GNU General Public License v2.0
760 stars 320 forks source link

check_mac_format function bug? #289

Open leon0625 opened 6 years ago

leon0625 commented 6 years ago

define https://github.com/wifidog/wifidog-gateway/blob/master/src/conf.c#L863

my gcc build the project, the check_mac_format always return 0. I found sscanf will return 1.

my gcc version: Using built-in specs. Target: mips-linux-uclibc Configured with: SDK Builder release 4.4 Thread model: posix gcc version 4.4.7 (Realtek MSDK-4.4.7 Build 2001)