Commit 0ba181e5 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix parsing of "default" prefix in configuration files.

parent 0ac3aa01
......@@ -308,6 +308,7 @@ parse_net(const char *net, unsigned char *prefix_r, unsigned char *plen_r,
if(strcmp(net, "default") == 0) {
memset(prefix, 0, 16);
plen = 0;
af = AF_INET6;
} else {
slash = strchr(net, '/');
if(slash == NULL) {
......
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