summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-23 16:17:16 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-23 16:17:16 +0000
commit4047d0267fa2e724a83f100626a31a7d3b29290e (patch)
tree0c7f9030bedd31453bfce3df8f9fa1f7a163b9e5
parent031e87791907cb38f9e02699dadd29711a7e8df5 (diff)
no RTF_MASK
-rw-r--r--usr.sbin/bgpd/kroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index 74cb085bf46..d8717e95be3 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.3 2003/12/23 16:07:37 henning Exp $ */
+/* $OpenBSD: kroute.c,v 1.4 2003/12/23 16:17:15 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -68,7 +68,7 @@ kroute_msg(int fd, int action, struct kroute *kroute)
r.hdr.rtm_msglen = sizeof(r);
r.hdr.rtm_version = RTM_VERSION;
r.hdr.rtm_type = action;
- r.hdr.rtm_flags = RTF_GATEWAY|RTF_MASK; /* XXX */
+ r.hdr.rtm_flags = RTF_GATEWAY; /* XXX */
r.hdr.rtm_seq = rtseq++; /* overflow doesn't matter */
r.hdr.rtm_addrs = RTA_DST|RTA_GATEWAY|RTA_NETMASK;
r.prefix.sin_len = sizeof(r.prefix);