We'll need to turn it off in some hosts because there are routing
asymmetries.
fi
## Turn on the reverse-path filter, and log weird things.
-setdevopt rp_filter 1
-setdevopt log_martians 1
+setdevopt rp_filter $rp_filter
+setdevopt log_martians $log_martians
## Turn off things which can mess with our routing decisions.
setdevopt accept_source_route 0
## Whether to permit forwarding.
defconf(forward, 1)
+## Whether to turn on the reverse-path filter.
+defconf(rp_filter, 1)
+
+## Whether to turn on logging of martian packets.
+defconf(log_martians, 1)
+
m4_divert(-1)
###----- That's all, folks --------------------------------------------------