Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102915791
D39548.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
D39548.diff
View Options
diff --git a/sbin/ifconfig/carp.c b/sbin/ifconfig/carp.c
--- a/sbin/ifconfig/carp.c
+++ b/sbin/ifconfig/carp.c
@@ -261,9 +261,9 @@
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",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 5:19 PM (21 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14720329
Default Alt Text
D39548.diff (506 B)
Attached To
Mode
D39548: ifconfig: Change carp commands mcast and mcast6 to DEF_CMD as they take no args
Attached
Detach File
Event Timeline
Log In to Comment