mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01:00
ifconfig: change carp commands mcast and mcast6 to DEF_CMD as they take no args
Reviewed by: kp Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D39548
This commit is contained in:
parent
158adced65
commit
f0311046a0
@ -261,9 +261,9 @@ static struct cmd carp_cmds[] = {
|
||||
DEF_CMD_ARG("vhid", setcarp_vhid),
|
||||
DEF_CMD_ARG("state", setcarp_state),
|
||||
DEF_CMD_ARG("peer", setcarp_peer),
|
||||
DEF_CMD_ARG("mcast", setcarp_mcast),
|
||||
DEF_CMD("mcast", 0, setcarp_mcast),
|
||||
DEF_CMD_ARG("peer6", setcarp_peer6),
|
||||
DEF_CMD_ARG("mcast6", setcarp_mcast6),
|
||||
DEF_CMD("mcast6", 0, setcarp_mcast6),
|
||||
};
|
||||
static struct afswtch af_carp = {
|
||||
.af_name = "af_carp",
|
||||
|
Loading…
Reference in New Issue
Block a user