diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-02-22 14:07:47 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-02-22 14:07:47 +0000 |
commit | ef3abbe88a963bb81c15721bb53cf319ffdc3fb4 (patch) | |
tree | 74e6ded8aa7944fe94bb12cc0caad4b8249a2c4b /sbin/ifconfig/ifcarp.c | |
parent | d5469a8ba59cb97e909132a9575ab644de53ddbe (diff) | |
download | src-ef3abbe88a963bb81c15721bb53cf319ffdc3fb4.tar.gz src-ef3abbe88a963bb81c15721bb53cf319ffdc3fb4.zip |
Use afswch->af_other_status for carp_status() and pfsync_status().
Sponsored by: Rambler
Notes
Notes:
svn path=/head/; revision=142224
Diffstat (limited to 'sbin/ifconfig/ifcarp.c')
-rw-r--r-- | sbin/ifconfig/ifcarp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifcarp.c b/sbin/ifconfig/ifcarp.c index ab6d152d9bb0..36f1bb6a47b7 100644 --- a/sbin/ifconfig/ifcarp.c +++ b/sbin/ifconfig/ifcarp.c @@ -52,14 +52,14 @@ static const char *carp_states[] = { CARP_STATES }; -void carp_status(int s, const struct rt_addrinfo *); +void carp_status(int s); void setcarp_advbase(const char *,int, int, const struct afswtch *rafp); void setcarp_advskew(const char *, int, int, const struct afswtch *rafp); void setcarp_passwd(const char *, int, int, const struct afswtch *rafp); void setcarp_vhid(const char *, int, int, const struct afswtch *rafp); void -carp_status(int s, const struct rt_addrinfo *info __unused) +carp_status(int s) { const char *state; struct carpreq carpr; @@ -183,7 +183,7 @@ static struct cmd carp_cmds[] = { static struct afswtch af_carp = { .af_name = "af_carp", .af_af = AF_UNSPEC, - .af_status = carp_status, + .af_other_status = carp_status, }; static __constructor void |