svn commit: r332762 - stable/11/sbin/ipfw
Andrey V. Elsukov
ae at FreeBSD.org
Thu Apr 19 10:05:13 UTC 2018
Author: ae
Date: Thu Apr 19 10:05:12 2018
New Revision: 332762
URL: https://svnweb.freebsd.org/changeset/base/332762
Log:
MFC r332448:
Remove printing of "not" keyword from print_ip() function.
After r331668 handling of F_NOT flag done in one place by
print_instruction() function.
Modified:
stable/11/sbin/ipfw/ipfw2.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sbin/ipfw/ipfw2.c
==============================================================================
--- stable/11/sbin/ipfw/ipfw2.c Thu Apr 19 08:56:54 2018 (r332761)
+++ stable/11/sbin/ipfw/ipfw2.c Thu Apr 19 10:05:12 2018 (r332762)
@@ -1192,11 +1192,10 @@ print_ip(struct buf_pr *bp, const struct format_opts *
if (d < sizeof(lookup_key)/sizeof(lookup_key[0]))
arg = match_value(rule_options, lookup_key[d]);
t = table_search_ctlv(fo->tstate, ((ipfw_insn *)cmd)->arg1);
- bprintf(bp, "%s lookup %s %s", cmd->o.len & F_NOT ? " not": "",
- arg, t);
+ bprintf(bp, " lookup %s %s", arg, t);
return;
}
- bprintf(bp, "%s%s ", cmd->o.len & F_NOT ? " not": "", s);
+ bprintf(bp, "%s ", s);
if (cmd->o.opcode == O_IP_SRC_ME || cmd->o.opcode == O_IP_DST_ME) {
bprintf(bp, "me");
More information about the svn-src-stable-11
mailing list