diff options
Diffstat (limited to 'src/vnet/bier/bier_api.c')
-rw-r--r-- | src/vnet/bier/bier_api.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vnet/bier/bier_api.c b/src/vnet/bier/bier_api.c index 67c70462540..002ea0b051a 100644 --- a/src/vnet/bier/bier_api.c +++ b/src/vnet/bier/bier_api.c @@ -496,7 +496,10 @@ vl_api_bier_disp_entry_add_del_t_handler (vl_api_bier_disp_entry_add_del_t * mp) table_id = ntohl(mp->bde_tbl_id); bp = ntohs(mp->bde_bp); - if (0 == bp || bp > 0xffff) + /* + * BP=0 is the default route + */ + if (bp > 0xffff) { rv = -1; goto done; |