On Wed, Dec 30, 2015 at 02:39:02PM +0100, Sebastian Benoit wrote:
> Fabian Raetz(fabian.ra...@gmail.com) on 2015.12.30 13:32:54 +0100:
> > On Wed, Dec 30, 2015 at 07:24:01AM -0500, Ted Unangst wrote:
> > > Fabian Raetz wrote:
> > > > Hi,
> > > > 
> > > > please find below a patch to remove the undocumented -carpdev command 
> > > > from
> > > > ifconfig(8).
> > > 
> > > wouldn't it make more sense to document the command?
> > 
> > as the command is broken [0] and nobody noticed it so far, i'm
> > wondering if anybody needs -carpdev
> > 
> > [0] https://www.marc.info/?l=openbsd-tech&m=145147632420539&w=2
> 
> -carpdev was valid back when you did not have to specify the device. Until
> some time ago there was magic that chose the parent dev based on the ip on
> the carp - the idea was that it must be in the same net as the parent.
> 
> This was removed (by mpi i think) to reduce complexety. So now you always
> have to specify the carpdev.
> 
> I believe the option can go.

Yes, the replacement command is 'ifconfig carp0 destroy && ifconfig carp0
up'. 

-- 
:wq Claudio

Reply via email to