]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: derive rule family from src->dst->ipv4
authorStephen Worley <sworley@nvidia.com>
Thu, 17 Dec 2020 21:16:26 +0000 (16:16 -0500)
committerStephen Worley <sworley@nvidia.com>
Fri, 18 Dec 2020 16:53:18 +0000 (11:53 -0500)
commite36ea40d3bf0bec2b550bcedf75a266bf6be605f
tree317d28beae23948b467c3c680d7c4c1ef8252126
parent67765a232dc6d86b3acbd3f6e4ba87cea42cca48
zebra: derive rule family from src->dst->ipv4

Derive the rule family from src if available, otherwise
dst if available, otherwise assume ipv4. We only support
ipv4/ipv6 currently so it we cant tell from the src/dst
it must be ipv4 and likely a dsfield match.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
zebra/rule_netlink.c