diff options
author | michele <michele@openbsd.org> | 2008-12-17 14:19:39 +0000 |
---|---|---|
committer | michele <michele@openbsd.org> | 2008-12-17 14:19:39 +0000 |
commit | 4d8b14b6630665f8df30f467781f65de613391cd (patch) | |
tree | f106fc7414e73812fba0b143a896671143b90c39 /usr.sbin/ripd/ripe.h | |
parent | change the name displayed by the c-mode on the mode line to "c", (diff) | |
download | wireguard-openbsd-4d8b14b6630665f8df30f467781f65de613391cd.tar.xz wireguard-openbsd-4d8b14b6630665f8df30f467781f65de613391cd.zip |
Add support for demotion counter.
When interfaces go up/down the demotion counter of the
specified group is decreased/increased.
ok henning@
Diffstat (limited to 'usr.sbin/ripd/ripe.h')
-rw-r--r-- | usr.sbin/ripd/ripe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ripd/ripe.h b/usr.sbin/ripd/ripe.h index 30487d975ec..7514d6baad9 100644 --- a/usr.sbin/ripd/ripe.h +++ b/usr.sbin/ripd/ripe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ripe.h,v 1.8 2007/10/24 20:52:50 claudio Exp $ */ +/* $OpenBSD: ripe.h,v 1.9 2008/12/17 14:19:39 michele Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -115,6 +115,7 @@ void ripe_dispatch_main(int, short, void *); void ripe_dispatch_rde(int, short, void *); void ripe_iface_ctl(struct ctl_conn *, unsigned int); void ripe_nbr_ctl(struct ctl_conn *); +void ripe_demote_iface(struct iface *, int); /* auth.c */ int auth_validate(u_int8_t **, u_int16_t *, struct iface *, struct nbr *, |