1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

bugfix in sx_prefix.c

This commit is contained in:
snar
2008-05-19 13:53:36 +00:00
parent bf788ffd31
commit c2e6f85db9

View File

@ -70,7 +70,7 @@ sx_prefix_parse(struct sx_prefix* p, int af, char* text)
};
if(inet_pton(af,text,&p->addr)!=1) {
*c='/';
if(c) *c='/';
sx_report(SX_ERROR,"Unable to parse prefix %s, af=%i\n",text,af);
goto fixups;
};