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:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user