summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-02-15 15:39:31 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-02-15 15:39:31 +0000
commitae72140026939a89ac0aa109af6caa3ea2dd5d1f (patch)
tree5b10255dfc8d6d7fa0d3180ef29ebad06b25cf22
parent9061879f982f89c028315b34a0251419bb0d0702 (diff)
let ospfd "tag" its routes with RTF_PROTO2, bgpd uses RTF_PROTO1 already
-rw-r--r--usr.sbin/ospfd/kroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c
index 432b5533dc2..bf3ba0613e7 100644
--- a/usr.sbin/ospfd/kroute.c
+++ b/usr.sbin/ospfd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.2 2005/01/28 17:53:33 norby Exp $ */
+/* $OpenBSD: kroute.c,v 1.3 2005/02/15 15:39:30 henning Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -900,7 +900,7 @@ send_rtmsg(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_PROTO1;
+ r.hdr.rtm_flags = RTF_PROTO2;
if (kroute->flags & F_BLACKHOLE)
r.hdr.rtm_flags |= RTF_BLACKHOLE;
if (kroute->flags & F_REJECT)