summaryrefslogtreecommitdiffstats
path: root/staticd/staticd.conf.sample
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-10-15 20:50:10 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-15 21:03:46 +0200
commitb77a69bdc601133612d89cb5e389f014d3e68970 (patch)
tree1c1cfa729bf82db50d88c5836c778f3428f7e7d7 /staticd/staticd.conf.sample
parentlib: Use ifindex_t for struct pbr_rule (diff)
downloadfrr-b77a69bdc601133612d89cb5e389f014d3e68970.tar.xz
frr-b77a69bdc601133612d89cb5e389f014d3e68970.zip
zebra: Use the rule ifindex as a hash key, not ifp
Use the ifindex value as a primary hash key/identifier, not the ifp pointer. It is possible for that data to be freed and then we would not be able to hash and find the rule entry anymore. Using the ifindex, we can still find the rule even if the interface is removed. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'staticd/staticd.conf.sample')
0 files changed, 0 insertions, 0 deletions