mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:34:44 +00:00
Merge pull request #1095 from LabNConsulting/working/master/patch/grammer
bgpd rfapi: fixup vnc l2_group config
This commit is contained in:
commit
38d617ba4d
@ -3387,7 +3387,7 @@ DEFUN_NOSH (vnc_l2_group,
|
||||
VTY_DECLVAR_CONTEXT(bgp, bgp);
|
||||
|
||||
/* Search for name */
|
||||
rfg = rfapi_l2_group_lookup_byname(bgp, argv[1]->arg);
|
||||
rfg = rfapi_l2_group_lookup_byname(bgp, argv[2]->arg);
|
||||
|
||||
if (!rfg) {
|
||||
rfg = rfapi_l2_group_new();
|
||||
@ -3396,7 +3396,7 @@ DEFUN_NOSH (vnc_l2_group,
|
||||
vty_out(vty, "Can't allocate memory for L2 group\n");
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
rfg->name = strdup(argv[1]->arg);
|
||||
rfg->name = strdup(argv[2]->arg);
|
||||
/* add to tail of list */
|
||||
listnode_add(bgp->rfapi_cfg->l2_groups, rfg);
|
||||
}
|
||||
@ -3472,7 +3472,7 @@ DEFUN (vnc_no_l2_group,
|
||||
|
||||
DEFUN (vnc_l2_group_lni,
|
||||
vnc_l2_group_lni_cmd,
|
||||
"logical-network-id <0-4294967295>",
|
||||
"logical-network-id (0-4294967295)",
|
||||
"Specify Logical Network ID associated with group\n"
|
||||
"value\n")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user