Wihan is a WiFi gateway daemon designed for OpenWrt routers. It provides WiFi access control for your router through captive portal. Easy to configure and run.
i am trying to test wihan as replacement for coovachilli
but during compile got the below error
src/wihand.c: In function ‘main’:
src/wihand.c:487:37: error: ‘CONFDIR’ undeclared (first use in this function)
snprintf(radcmd, sizeof radcmd, CONFDIR"/setrules.sh %s %s %s %s",
^
src/wihand.c:487:37: note: each undeclared identifier is reported only once for each function it appears in
src/wihand.c:487:44: error: expected ‘)’ before string constant
snprintf(radcmd, sizeof radcmd, CONFDIR"/setrules.sh %s %s %s %s"