summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2013-09-27 08:23:12 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2013-09-27 08:23:12 +0000
commit6c841191972672e07d4ac0da84e199b5b9ff6da2 (patch)
treec30058482b0505378be85b671b29b824b59f880b /usr.sbin/bgpd
parent8bdc41d78b80a6f5dfce4cf53b64da7c39c7e52d (diff)
typo in macro name; no md5 change
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/bgpd.h10
-rw-r--r--usr.sbin/bgpd/parse.y4
-rw-r--r--usr.sbin/bgpd/util.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 01fd80e7afc..fef1958a1a1 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.278 2013/08/14 20:34:25 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.279 2013/09/27 08:23:10 sthen Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -717,7 +717,7 @@ struct filter_peers {
#define EXT_COMMUNITY_OPAQUE 3 /* opaque ext community */
/* sub types */
#define EXT_COMMUNITY_ROUTE_TGT 2 /* RFC 4360 & RFC4364 */
-#define EXT_CUMMUNITY_ROUTE_ORIG 3 /* RFC 4360 & RFC4364 */
+#define EXT_COMMUNITY_ROUTE_ORIG 3 /* RFC 4360 & RFC4364 */
#define EXT_COMMUNITY_OSPF_DOM_ID 5 /* RFC 4577 */
#define EXT_COMMUNITY_OSPF_RTR_TYPE 6 /* RFC 4577 */
#define EXT_COMMUNITY_OSPF_RTR_ID 7 /* RFC 4577 */
@@ -734,13 +734,13 @@ struct ext_comm_pairs {
#define IANA_EXT_COMMUNITIES { \
{ EXT_COMMUNITY_TWO_AS, EXT_COMMUNITY_ROUTE_TGT, 0 }, \
- { EXT_COMMUNITY_TWO_AS, EXT_CUMMUNITY_ROUTE_ORIG, 0 }, \
+ { EXT_COMMUNITY_TWO_AS, EXT_COMMUNITY_ROUTE_ORIG, 0 }, \
{ EXT_COMMUNITY_TWO_AS, EXT_COMMUNITY_OSPF_DOM_ID, 0 }, \
{ EXT_COMMUNITY_TWO_AS, EXT_COMMUNITY_BGP_COLLECT, 0 }, \
{ EXT_COMMUNITY_FOUR_AS, EXT_COMMUNITY_ROUTE_TGT, 0 }, \
- { EXT_COMMUNITY_FOUR_AS, EXT_CUMMUNITY_ROUTE_ORIG, 0 }, \
+ { EXT_COMMUNITY_FOUR_AS, EXT_COMMUNITY_ROUTE_ORIG, 0 }, \
{ EXT_COMMUNITY_IPV4, EXT_COMMUNITY_ROUTE_TGT, 0 }, \
- { EXT_COMMUNITY_IPV4, EXT_CUMMUNITY_ROUTE_ORIG, 0 }, \
+ { EXT_COMMUNITY_IPV4, EXT_COMMUNITY_ROUTE_ORIG, 0 }, \
{ EXT_COMMUNITY_IPV4, EXT_COMMUNITY_OSPF_RTR_ID, 0 }, \
{ EXT_COMMUNITY_OPAQUE, EXT_COMMUNITY_OSPF_RTR_TYPE, 0 } \
}
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 1f611ec3c37..b8f7f37ec03 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.266 2013/05/11 14:42:28 benno Exp $ */
+/* $OpenBSD: parse.y,v 1.267 2013/09/27 08:23:11 sthen Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -2880,7 +2880,7 @@ parsesubtype(char *type)
{ "ori", EXT_COMMUNITY_OSPF_RTR_ID },
{ "ort", EXT_COMMUNITY_OSPF_RTR_TYPE },
{ "rt", EXT_COMMUNITY_ROUTE_TGT },
- { "soo", EXT_CUMMUNITY_ROUTE_ORIG }
+ { "soo", EXT_COMMUNITY_ROUTE_ORIG }
};
const struct keywords *p;
diff --git a/usr.sbin/bgpd/util.c b/usr.sbin/bgpd/util.c
index 0f6a799d2e6..c1d9bb07583 100644
--- a/usr.sbin/bgpd/util.c
+++ b/usr.sbin/bgpd/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.14 2011/09/20 21:19:07 claudio Exp $ */
+/* $OpenBSD: util.c,v 1.15 2013/09/27 08:23:11 sthen Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -147,7 +147,7 @@ log_ext_subtype(u_int8_t subtype)
switch (subtype) {
case EXT_COMMUNITY_ROUTE_TGT:
return ("rt"); /* route target */
- case EXT_CUMMUNITY_ROUTE_ORIG:
+ case EXT_COMMUNITY_ROUTE_ORIG:
return ("soo"); /* source of origin */
case EXT_COMMUNITY_OSPF_DOM_ID:
return ("odi"); /* ospf domain id */