summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-02-24 15:44:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-02-24 15:44:34 +0000
commitda36ac3d0b111eeb4a4be46ef0fa6e190d08ce0e (patch)
treefdb74a3f498e956159db85b47b014278955157c0 /usr.sbin/bgpd
parent46cc2fafccf26883df44da801f91310a2d04d829 (diff)
spaces
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/rde_attr.c4
-rw-r--r--usr.sbin/bgpd/rde_filter.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/rde_attr.c b/usr.sbin/bgpd/rde_attr.c
index f07f32d01e6..9cb130fa201 100644
--- a/usr.sbin/bgpd/rde_attr.c
+++ b/usr.sbin/bgpd/rde_attr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_attr.c,v 1.13 2004/02/23 16:46:24 claudio Exp $ */
+/* $OpenBSD: rde_attr.c,v 1.14 2004/02/24 15:44:33 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -563,7 +563,7 @@ aspath_write(void *p, u_int16_t len, struct aspath *aspath, u_int16_t myAS,
u_int8_t type, attr_flag = ATTR_WELL_KNOWN;
prepend = aspath->hdr.prepend + (ebgp ? 1 : 0);
-
+
if (prepend > 255)
/* lunatic prepends need to be blocked in the parser */
return (-1);
diff --git a/usr.sbin/bgpd/rde_filter.c b/usr.sbin/bgpd/rde_filter.c
index 7423fbf63e2..c46fc6ef910 100644
--- a/usr.sbin/bgpd/rde_filter.c
+++ b/usr.sbin/bgpd/rde_filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_filter.c,v 1.2 2004/02/24 15:43:03 claudio Exp $ */
+/* $OpenBSD: rde_filter.c,v 1.3 2004/02/24 15:44:33 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -32,7 +32,7 @@ rde_filter(struct rde_peer *peer, struct attr_flags *attrs,
{
struct filter_rule *f;
enum filter_actions action = ACTION_ALLOW; /* default allow */
-
+
TAILQ_FOREACH(f, rules_l, entries) {
if (dir != f->dir)
continue;
@@ -101,7 +101,7 @@ rde_filter_match(struct filter_rule *f, struct attr_flags *attrs,
default:
fatalx("rde_filter_match: unsupported address family");
}
-
+
/* test prefixlen stuff too */
switch (f->match.prefixlen.op) {
case OP_NONE:
@@ -158,7 +158,7 @@ rde_filter_match(struct filter_rule *f, struct attr_flags *attrs,
}
/* NOTREACHED */
}
-
+
/* matched somewhen or is anymatch rule */
return (1);
}