mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 11:30:55 +00:00
lib: Format according to our standard
A couple of functions needed to be reformated. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
547b989938
commit
ac2914d326
12
lib/if.c
12
lib/if.c
@ -821,10 +821,8 @@ DEFUN (show_address,
|
||||
if (argc > 2)
|
||||
VRF_GET_ID (vrf_id, argv[idx_vrf]->arg);
|
||||
|
||||
FOR_ALL_INTERFACES (vrf, ifp)
|
||||
{
|
||||
for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, ifc))
|
||||
{
|
||||
FOR_ALL_INTERFACES (vrf, ifp) {
|
||||
for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, ifc)) {
|
||||
p = ifc->address;
|
||||
|
||||
if (p->family == AF_INET)
|
||||
@ -854,10 +852,8 @@ DEFUN (show_address_vrf_all,
|
||||
|
||||
vty_out (vty, "\nVRF %u\n\n", vrf->vrf_id);
|
||||
|
||||
FOR_ALL_INTERFACES (vrf, ifp)
|
||||
{
|
||||
for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, ifc))
|
||||
{
|
||||
FOR_ALL_INTERFACES (vrf, ifp) {
|
||||
for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, ifc)) {
|
||||
p = ifc->address;
|
||||
|
||||
if (p->family == AF_INET)
|
||||
|
Loading…
Reference in New Issue
Block a user