diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-06-27 18:59:42 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-06-27 18:59:42 +0000 |
commit | 9c6cdc403df2148ddb9e8f96966abbfba07d3152 (patch) | |
tree | c94e564f1bd1107529cab17209dcb45d28c6d545 /usr.sbin/ospfd/rde.h | |
parent | 5c55eea4e8be8ee34143c60ab0e266100d7447b2 (diff) |
Mark connected routes (routes without a nexthop) in the rib. Without this
as-ext routes would select a wrong nexthop if the forwarding router is
directly connected. OK, help and debugging norby@
Diffstat (limited to 'usr.sbin/ospfd/rde.h')
-rw-r--r-- | usr.sbin/ospfd/rde.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/rde.h b/usr.sbin/ospfd/rde.h index 5a7b51b37f5..9f1c0d46ba5 100644 --- a/usr.sbin/ospfd/rde.h +++ b/usr.sbin/ospfd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.18 2005/06/27 17:59:36 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.19 2005/06/27 18:59:41 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -81,6 +81,7 @@ struct rt_node { u_int8_t flags; u_int8_t prefixlen; u_int8_t invalid; + u_int8_t connected; }; struct abr_rtr { |