\r
/* == This function strips extra characters after IP address and stores it = */\r
\r
-void parse_ip(struct IP *ip, char *str)\r
+void parse_ip(char *str)\r
{\r
char *ptr,*ipaddr=NULL,*ipname=NULL,*lmsid=NULL;\r
\r
if(substring)\r
{ \r
substring+=8; //"sharing-"\r
- parse_ip(ip, str);\r
+ parse_ip(str);\r
ip_count++;\r
ip->sharing=substring;\r
ip->keyword=defaultkeyword; /* settings for default keyword */\r
\r
if_exists(keyword,keywords,(substring=strstr(str,keyword->key)))\r
{\r
- parse_ip(ip, str);\r
+ parse_ip(str);\r
ip_count++;\r
ip->keyword=keyword;\r
keyword->ip_count++;\r