diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-09 13:16:24 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-09 13:16:24 +0200 |
commit | e148ba2db8e2b2e38c5e4f8ec672de74f72fcf6d (patch) | |
tree | ea9e56ee09c530b044421df399378f2734cdb613 /pingu_host.h | |
parent | 78f7022bed26685f49dcbf7a5ab2489106bc1300 (diff) | |
download | pingu-e148ba2db8e2b2e38c5e4f8ec672de74f72fcf6d.tar.bz2 pingu-e148ba2db8e2b2e38c5e4f8ec672de74f72fcf6d.tar.xz |
pingu_netlink: do not add dead routes to multipath
We don't was add a multipath via an interface that a pinghost has set
as DOWN.
Diffstat (limited to 'pingu_host.h')
-rw-r--r-- | pingu_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pingu_host.h b/pingu_host.h index 71e83a7..80a1f53 100644 --- a/pingu_host.h +++ b/pingu_host.h @@ -27,6 +27,7 @@ struct pingu_host *pingu_host_new(char *hoststr, float burst_interval, float timeout, const char *up_action, const char *down_action); +struct pingu_host *pingu_host_find_by_iface(struct pingu_iface *iface); int pingu_host_set_status(struct pingu_host *host, int status); int pingu_host_init(struct ev_loop *loop); int pingu_host_verify_status(struct ev_loop *loop, struct pingu_host *host); |