diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-05-24 21:36:41 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-05-24 21:36:41 +0000 |
commit | baa4d0bf261602db9b2d6cac8ce0ba53fc79301b (patch) | |
tree | 12f9e52ba9f81a0062a58574252edc9a6bf6f235 /usr.sbin/ospfd/ospfd.h | |
parent | 07cb07bab92828e544cce0201f960f9b9e4591b1 (diff) |
Only redistribute networks if the interface they depend on is actually
up and running. This makes redistribution of carp(4)-ed networks magically
work. OK norby@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.h')
-rw-r--r-- | usr.sbin/ospfd/ospfd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/ospfd.h b/usr.sbin/ospfd/ospfd.h index bc798d0f6b5..15366e51f1b 100644 --- a/usr.sbin/ospfd/ospfd.h +++ b/usr.sbin/ospfd/ospfd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.h,v 1.30 2005/05/22 18:05:42 norby Exp $ */ +/* $OpenBSD: ospfd.h,v 1.31 2005/05/24 21:36:40 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -518,6 +518,8 @@ void kr_nexthop_delete(struct in_addr); void kr_show_route(struct imsg *); void kr_ifinfo(char *, pid_t); struct kif *kif_findname(char *); +void kif_update(struct kif *); +int kif_validate(int); u_int8_t mask2prefixlen(in_addr_t); in_addr_t prefixlen2mask(u_int8_t); |