summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/util.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-01-15 12:41:10 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-01-15 12:41:10 +0000
commitead8875a9047d57e61dafbc14a3d5a4da9346e06 (patch)
treec5f5025bda159a69915e534ef580eea84e8c6ef0 /usr.sbin/eigrpd/util.c
parent5b3c09374d9d177f39604e370a448ce925336710 (diff)
Minor tweaks.
Diffstat (limited to 'usr.sbin/eigrpd/util.c')
-rw-r--r--usr.sbin/eigrpd/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/eigrpd/util.c b/usr.sbin/eigrpd/util.c
index 61b19652a38..dc379f3e0f9 100644
--- a/usr.sbin/eigrpd/util.c
+++ b/usr.sbin/eigrpd/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.3 2015/10/21 03:52:12 renato Exp $ */
+/* $OpenBSD: util.c,v 1.4 2016/01/15 12:41:09 renato Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -136,7 +136,7 @@ eigrp_applymask(int af, union eigrpd_addr *dest, const union eigrpd_addr *src,
}
int
-eigrp_addrcmp(int af, union eigrpd_addr *a, union eigrpd_addr *b)
+eigrp_addrcmp(int af, const union eigrpd_addr *a, const union eigrpd_addr *b)
{
switch (af) {
case AF_INET:
@@ -155,7 +155,7 @@ eigrp_addrcmp(int af, union eigrpd_addr *a, union eigrpd_addr *b)
}
int
-eigrp_addrisset(int af, union eigrpd_addr *addr)
+eigrp_addrisset(int af, const union eigrpd_addr *addr)
{
switch (af) {
case AF_UNSPEC: