Displaying 1 result from an estimated 1 matches for "iface_to_mark".
2017 Feb 28
2
[Bug 1125] New: Setting bit mark according to result of lookup
...Status: NEW
Severity: enhancement
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: uzytkownik2 at gmail.com
I tried to set a mark according to interface it come through. My first attempt
was:
table bridge filter {
map iface_to_mark {
type iface_index: mark
elements = {
iface0: 0x1,
iface1: 0x2,
...
}
}
chain input {
type filter hook input priority 0
mark set mark or iif map @iface_to_mark
}
}
However as RHS of | is not constant it is not...