mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 09:52:27 +00:00
ospfd: add vrf option to operational command
Seperate the display option in both vty and json case 'vrf' is used in show command. show ip ospf 'vrf all' [json] Display vrf name as key object in json and vrf name in vty output. case 'vrf' is not used then only display default vrf ospf instance and vrf name is not shown in vty and json. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
e4715aed63
commit
b1c3ae8ce3
@ -184,11 +184,8 @@ int ospf_bind_vrfdevice(struct ospf *ospf, int ospf_sock)
|
||||
zlog_warn("%s: Could not setsockopt SO_BINDTODEVICE %s",
|
||||
__PRETTY_FUNCTION__,
|
||||
safe_strerror(save_errno));
|
||||
} else {
|
||||
zlog_debug("%s: Bind socket %d to vrf %s id %u device",
|
||||
__PRETTY_FUNCTION__, ospf_sock,
|
||||
ospf->name, ospf->vrf_id);
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
return ret;
|
||||
|
861
ospfd/ospf_vty.c
861
ospfd/ospf_vty.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user