diff options
Diffstat (limited to 'lib/routemap_northbound.c')
| -rw-r--r-- | lib/routemap_northbound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/routemap_northbound.c b/lib/routemap_northbound.c index 78f2a5a018..68b112b09a 100644 --- a/lib/routemap_northbound.c +++ b/lib/routemap_northbound.c @@ -940,7 +940,7 @@ lib_route_map_entry_set_action_ipv4_address_modify(enum nb_event event, * only implemented action. */ yang_dnode_get_ipv4(&ia, dnode, NULL); - if (ia.s_addr == 0 || IPV4_CLASS_DE(ntohl(ia.s_addr))) + if (ia.s_addr == INADDR_ANY || IPV4_CLASS_DE(ntohl(ia.s_addr))) return NB_ERR_VALIDATION; /* FALLTHROUGH */ case NB_EV_PREPARE: |
