mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue