summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2021-11-22 18:02:21 +0100
committerGitHub <noreply@github.com>2021-11-22 18:02:21 +0100
commit9d5a61264ac44d82e63fb57d3e72305127ecbeab (patch)
tree5da1c6475bb4615dc3f7ce401cf0ccb8bb2b8842 /lib/if.h
parentMerge pull request #10070 from idryzhov/ospf6-memcmp-cleanup (diff)
parent*: unify if_is_loopback/if_is_loopback_or_vrf (diff)
downloadfrr-9d5a61264ac44d82e63fb57d3e72305127ecbeab.tar.xz
frr-9d5a61264ac44d82e63fb57d3e72305127ecbeab.zip
Merge pull request #10076 from idryzhov/if-is-loopback-or-vrf
*: unify if_is_loopback/if_is_loopback_or_vrf
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/if.h b/lib/if.h
index 5f0dc2755..f52e7cb20 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -548,9 +548,9 @@ extern int if_is_up(const struct interface *ifp);
extern int if_is_running(const struct interface *ifp);
extern int if_is_operative(const struct interface *ifp);
extern int if_is_no_ptm_operative(const struct interface *ifp);
-extern int if_is_loopback(const struct interface *ifp);
+extern int if_is_loopback_exact(const struct interface *ifp);
extern int if_is_vrf(const struct interface *ifp);
-extern bool if_is_loopback_or_vrf(const struct interface *ifp);
+extern bool if_is_loopback(const struct interface *ifp);
extern int if_is_broadcast(const struct interface *ifp);
extern int if_is_pointopoint(const struct interface *ifp);
extern int if_is_multicast(const struct interface *ifp);