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/ifpfsync.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/ifpfsync.c')
-rw-r--r-- | sbin/ifconfig/ifpfsync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifpfsync.c b/sbin/ifconfig/ifpfsync.c index 7ca9883..70c12dc 100644 --- a/sbin/ifconfig/ifpfsync.c +++ b/sbin/ifconfig/ifpfsync.c @@ -47,7 +47,7 @@ void setpfsync_syncif(const char *, int, int, const struct afswtch *rafp); void unsetpfsync_syncif(const char *, int, int, const struct afswtch *rafp); void setpfsync_maxupd(const char *, int, int, const struct afswtch *rafp); -void pfsync_status(int, const struct rt_addrinfo *); +void pfsync_status(int); void setpfsync_syncif(const char *val, int d, int s, const struct afswtch *rafp) @@ -104,7 +104,7 @@ setpfsync_maxupd(const char *val, int d, int s, const struct afswtch *rafp) } void -pfsync_status(int s, const struct rt_addrinfo *info __unused) +pfsync_status(int s) { struct pfsyncreq preq; @@ -128,7 +128,7 @@ static struct cmd pfsync_cmds[] = { static struct afswtch af_pfsync = { .af_name = "af_pfsync", .af_af = AF_UNSPEC, - .af_status = pfsync_status, + .af_other_status = pfsync_status, }; static __constructor void |