summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/eigrpd.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-02-21 18:40:57 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-02-21 18:40:57 +0000
commita8851cee87bef75717600f1c3c87c9255ce58d28 (patch)
tree9fa08d2d0895c49c5653d10d26a0627842b0a5b0 /usr.sbin/eigrpd/eigrpd.h
parentf4c6311041d081cbad530ba0928005dd32ef7341 (diff)
Several minor tweaks.
Diffstat (limited to 'usr.sbin/eigrpd/eigrpd.h')
-rw-r--r--usr.sbin/eigrpd/eigrpd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/eigrpd/eigrpd.h b/usr.sbin/eigrpd/eigrpd.h
index bf2e03293f6..6797c4301f7 100644
--- a/usr.sbin/eigrpd/eigrpd.h
+++ b/usr.sbin/eigrpd/eigrpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: eigrpd.h,v 1.8 2016/01/15 12:41:09 renato Exp $ */
+/* $OpenBSD: eigrpd.h,v 1.9 2016/02/21 18:40:56 renato Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -120,10 +120,15 @@ union eigrpd_addr {
struct in6_addr v6;
};
+#define IN6_IS_SCOPE_EMBED(a) \
+ ((IN6_IS_ADDR_LINKLOCAL(a)) || \
+ (IN6_IS_ADDR_MC_LINKLOCAL(a)) || \
+ (IN6_IS_ADDR_MC_INTFACELOCAL(a)))
+
/* interface types */
enum iface_type {
IF_TYPE_POINTOPOINT,
- IF_TYPE_BROADCAST,
+ IF_TYPE_BROADCAST
};
struct if_addr {