{\r
char *ptr, *ipaddr, *ip6range = NULL, *ipname = NULL, *lmsid = NULL;\r
\r
- if(ip6prefix) /* Try this only if IPv6 subsystem is active...*/\r
+ if(ip6prefix) /* Try this only if IPv6 subsystem is active... */\r
{\r
ptr = strstr(str, "::");\r
if(ptr && ptr-str > 4)\r
if(lastIP6)\r
{\r
lastIP6->sharing = substring;\r
+ lastIP6 = NULL;\r
}\r
while(*substring and *substring != '\n')\r
{\r
if_exists(keyword,keywords,(substring=strstr(str,keyword->key)))\r
{\r
parse_ip(str);\r
+ if(lastIP6)\r
+ {\r
+ lastIP6->sharing = ip->name;\r
+ lastIP6 = NULL;\r
+ }\r
ip->keyword = keyword;\r
keyword->ip_count++;\r
ip->prio = keyword->default_prio;\r