mirror of
https://git.freebsd.org/src.git
synced 2026-01-12 06:54:03 +00:00
ipfw: Update warning/error setsockopt references
Dummynet v3 switched to IP_DUMMYNET3 but did not update these
warnings/errors.
Fixes: cc4d3c30ea ("Bring in the most recent version of ipfw and dummynet, developed")
Sponsored by: The FreeBSD Foundation
Differential Revision: sbin/ipfw/ipfw2.c
This commit is contained in:
parent
83ac79599f
commit
1f95a51788
1 changed files with 2 additions and 2 deletions
|
|
@ -680,7 +680,7 @@ ipfw_delete_pipe(int do_pipe, int i)
|
|||
i = do_cmd(IP_DUMMYNET3, &cmd, cmd.oid.len);
|
||||
if (i) {
|
||||
i = 1;
|
||||
warn("rule %u: setsockopt(IP_DUMMYNET_DEL)", i);
|
||||
warn("rule %u: setsockopt(IP_DUMMYNET3)", i);
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
|
@ -1863,7 +1863,7 @@ end_mask:
|
|||
i = do_cmd(IP_DUMMYNET3, base, (char *)buf - (char *)base);
|
||||
|
||||
if (i)
|
||||
err(1, "setsockopt(%s)", "IP_DUMMYNET_CONFIGURE");
|
||||
err(1, "setsockopt(%s)", "IP_DUMMYNET3");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue