diff options
author | Dave Barach <dave@barachs.net> | 2020-08-06 12:10:09 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2020-08-06 12:10:50 -0400 |
commit | 11fb09e38ffcbadc2629361377413f3ce12ec4da (patch) | |
tree | 65d2a0a16b6e1fce5bec0dba1368dca5db3bc9e3 /src/vnet/l2 | |
parent | 586462fabcc913a5a4fa9115d4b5caf33dfdb347 (diff) |
misc: harmonize names
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ibad744788e200ce012ad88ff59c2c34920742454
Diffstat (limited to 'src/vnet/l2')
-rw-r--r-- | src/vnet/l2/l2_api.c | 2 | ||||
-rw-r--r-- | src/vnet/l2/l2_bd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/l2/l2_api.c b/src/vnet/l2/l2_api.c index ce08ab17050..d9bc47ab2e8 100644 --- a/src/vnet/l2/l2_api.c +++ b/src/vnet/l2/l2_api.c @@ -544,7 +544,7 @@ vl_api_bridge_domain_dump_t_handler (vl_api_bridge_domain_dump_t * mp) { l2_bridge_domain_t *bd_config = l2input_bd_config_from_index (l2im, bd_index); - /* skip dummy bd_id 0 */ + /* skip placeholder bd_id 0 */ if (bd_config && (bd_config->bd_id > 0)) send_bridge_domain_details (l2im, reg, bd_config, vec_len (bd_config->members), diff --git a/src/vnet/l2/l2_bd.c b/src/vnet/l2/l2_bd.c index e54d437f0ea..e6fb6223d93 100644 --- a/src/vnet/l2/l2_bd.c +++ b/src/vnet/l2/l2_bd.c @@ -229,7 +229,7 @@ l2bd_init (vlib_main_t * vm) bd_main_t *bdm = &bd_main; bdm->bd_index_by_bd_id = hash_create (0, sizeof (uword)); /* - * create a dummy bd with bd_id of 0 and bd_index of 0 with feature set + * create a placeholder bd with bd_id of 0 and bd_index of 0 with feature set * to packet drop only. Thus, packets received from any L2 interface with * uninitialized bd_index of 0 can be dropped safely. */ |