diff options
author | glebius <glebius@FreeBSD.org> | 2005-02-22 14:07:47 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-02-22 14:07:47 +0000 |
commit | 35d5701d76df0f4c3ca3d779a7f56cacdddb6fcb (patch) | |
tree | 74e6ded8aa7944fe94bb12cc0caad4b8249a2c4b /sbin/ifconfig/ifcarp.c | |
parent | 068a6e0ac25624950bd9de08432e300924290554 (diff) | |
download | FreeBSD-src-35d5701d76df0f4c3ca3d779a7f56cacdddb6fcb.zip FreeBSD-src-35d5701d76df0f4c3ca3d779a7f56cacdddb6fcb.tar.gz |
Use afswch->af_other_status for carp_status() and pfsync_status().
Sponsored by: Rambler
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 ab6d152..36f1bb6 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 |