summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2022-07-13 14:52:16 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2022-12-16 14:52:47 +0100
commit09e370e5fff2001f47509b4eae34bb749c18086b (patch)
tree6330e5842b906007db594587dbf7952934b38cb8 /lib
parentlib: add a function to get the VRF or loopback interface (diff)
downloadfrr-09e370e5fff2001f47509b4eae34bb749c18086b.tar.xz
frr-09e370e5fff2001f47509b4eae34bb749c18086b.zip
lib: fix clang warning
Fix a CLANG warning Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index db7321003..6766a04b3 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -580,7 +580,8 @@ struct interface *if_get_vrf_loopback(vrf_id_t vrf_id)
}
/* Get interface by name if given name interface doesn't exist create
- one. */
+ * one.
+ */
struct interface *if_get_by_name(const char *name, vrf_id_t vrf_id,
const char *vrf_name)
{