Commit baf7dd54 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix parsing of 'channel interfering'.

Off-by-one in error checking.  Reported by Gioacchino Mazzurco.
parent 29888373
......@@ -475,7 +475,7 @@ parse_ifconf(gnc_t gnc, void *closure)
free(t);
if((if_conf->channel < 1 || if_conf->channel > 254) &&
if((if_conf->channel < 1 || if_conf->channel > 255) &&
if_conf->channel != IF_CHANNEL_NONINTERFERING)
goto error;
} else {
......
Markdown is supported
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