diff --git a/src/route_lib.c b/src/route_lib.c index 88d7b3f5..ce33667e 100644 --- a/src/route_lib.c +++ b/src/route_lib.c @@ -322,7 +322,7 @@ int is_local_subnet(uint32_t ip) { if (first_octet >= 224 && first_octet <= 239) return 1; if (first_octet == 172 && second_octet >= 16 && second_octet <= 31) return 1; if (first_octet == 192 && second_octet == 168) return 1; - if (ip=0xffffffff) return 1; + if (ip==0xffffffff) return 1; DEBUG_DEBUG(DEBUG_CATEGORY_BGP, "result: global ip %d.%d : ", first_octet, second_octet); return 0;