summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2015-03-24 14:20:22 +0000
committerPatrick McHardy <kaber@trash.net>2015-03-25 20:48:56 +0000
commitac987dc5d471a766e0f96676d0a22279304e279a (patch)
treefed57badbcb8521f288fe74bccc12202c5d561b0 /src/parser_bison.y
parentfffa3cc22b84d4fab237a6974041fe502c7b6034 (diff)
netlink_delinarize: fix payload dependency killing of link layer dependencies
payload_dependency_kill() does not properly handle dependencies for link layer expressions. Since those dependencies are logically defined on an even lower layer (device layer), we don't have a payload base for them, meaning they will use PROTO_BASE_INVALID, which is skipped. So instead of storing the payload base on which the dependency is defined, we store the base of the layer for which the dependency applies, meaning dependencies defined by the device layer will properly work. This fixes killing the dependency of ether saddr, instead of iiftype ether ether ether saddr ... we now only display ether saddr ... Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions