char local_buff[INET6_ADDRSTRLEN];
local_buff[0] = '\0';
- if (p->u.prefix_flowspec.family == AF_INET &&
- attr->nexthop.s_addr != 0)
+ if (p->u.prefix_flowspec.family == AF_INET
+ && attr->nexthop.s_addr != INADDR_ANY)
inet_ntop(AF_INET,
&attr->nexthop.s_addr,
local_buff,