tl;dr - In the EXAMPLES section (for both 5.9 and -current, as of today),
/etc/hostname.carp0 and /etc/hostname.carp1 are missing "carpdev sisX" in
their configuration.  Suggested patch below.

In a recent attempt to follow the example in the pfsync(4) manpage, I was
met with the following error when trying to execute /etc/netstart:
ifconfig: SIOCAIFADDR: Invalid argument
ifconfig: SIOCAIFADDR: Invalid argument

Both entries are for errors in /etc/hostname.carp0 and /etc/hostname.carp1.
 carp(4) manpage suggests "carpdev" is a required argument, and from what I
can see, it is.

Please let me know if I can provide any more details, or how I can better
submit this patch.

Bryan

-------------------

Here's my suggested patch:

bryan$ cvs diff pfsync.4
Index: pfsync.4
===================================================================
RCS file: /cvs/src/share/man/man4/pfsync.4,v
retrieving revision 1.33
diff -r1.33 pfsync.4
173c173
< inet 10.0.0.1 255.255.255.0 10.0.0.255 vhid 1 pass foo
---
> inet 10.0.0.1 255.255.255.0 10.0.0.255 vhid 1 carpdev sis0 pass foo
178c178
< inet 192.168.0.1 255.255.255.0 192.168.0.255 vhid 2 pass bar
---
> inet 192.168.0.1 255.255.255.0 192.168.0.255 vhid 2 carpdev sis1 pass bar

Reply via email to