Commit 22e936c0 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Implement parsing of id.

parent f349c393
......@@ -205,6 +205,12 @@ parse_filter(gnc_t gnc, void *closure)
if(c < -1)
goto error;
filter->neigh = neigh;
} else if(strcmp(token, "id") == 0) {
unsigned char *id;
c = getip(c, &id, NULL, gnc, closure);
if(c < -1)
goto error;
filter->id = id;
} else if(strcmp(token, "proto") == 0) {
int proto;
c = getint(c, &proto, gnc, closure);
......
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