summaryrefslogtreecommitdiffstats
path: root/src/netlink_delinearize.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-02-16 20:35:37 +0000
committerPatrick McHardy <kaber@trash.net>2014-02-17 17:17:18 +0000
commit5a140c9cf95724f971ec9cb40217bea8fc4d089f (patch)
tree19733bb86ac658978291abeb5139a8d1de156b90 /src/netlink_delinearize.c
parent6bad82aba5d304c7a2dd1b19fe57464dca327f4a (diff)
binop: take care of operator precedence when printing binop arguments
When the argument of a binop is a binop itself, we may need to add parens if the precedence of the argument is lower then the binop. Before: tcp flags & syn | ack == syn | ack tcp flags & syn | ack != syn | ack After: tcp flags & (syn | ack) == syn | ack tcp flags & (syn | ack) != syn | ack Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/netlink_delinearize.c')
0 files changed, 0 insertions, 0 deletions