summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-08-06 22:16:21 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-08-21 11:41:14 -0300
commit3923b6e309e883c7b5d09ea9f7244a35e9fe9025 (patch)
tree6a08bd2d3e1cb3c89e2f51c3a14f0551c759444f /lib/if.c
parentef231ac76ca6bf5dae1f6ab09a16c6f4e39b90af (diff)
lib: fix a couple more doc comments
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/if.c b/lib/if.c
index 9ee2f02e62..a08c06695e 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -337,7 +337,7 @@ struct interface *if_lookup_by_index_all_vrf(ifindex_t ifindex)
return NULL;
}
-/* Lookup interface by IPv4 address. */
+/* Lookup interface by IP address. */
struct interface *if_lookup_exact_address(void *src, int family,
vrf_id_t vrf_id)
{
@@ -369,7 +369,7 @@ struct interface *if_lookup_exact_address(void *src, int family,
return NULL;
}
-/* Lookup interface by IPv4 address. */
+/* Lookup interface by IP address. */
struct connected *if_lookup_address(void *matchaddr, int family,
vrf_id_t vrf_id)
{