From ae72140026939a89ac0aa109af6caa3ea2dd5d1f Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Tue, 15 Feb 2005 15:39:31 +0000 Subject: let ospfd "tag" its routes with RTF_PROTO2, bgpd uses RTF_PROTO1 already --- usr.sbin/ospfd/kroute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospfd') 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 @@ -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) -- cgit v1.2.3