Skip to content

Commit bcaa779

Browse files
committed
yangerd: Follow force_forwarding for IPv6 routing interfaces
confd sets force_forwarding for IPv6, the aggregator reads it, but only the plain forwarding file was watched. An IPv6-only change was picked up solely because the IPv4 sysctl is written at the same time. Signed-off-by: Mattias Walström <[email protected]>
1 parent 55cc8e1 commit bcaa779

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/yangerd/cmd/yangerd/main.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ func main() {
227227
forwardingPaths := []string{
228228
"/proc/sys/net/ipv4/conf/*/forwarding",
229229
"/proc/sys/net/ipv6/conf/*/forwarding",
230+
"/proc/sys/net/ipv6/conf/*/force_forwarding",
230231
}
231232
forwarding := fswatcher.WatchHandler{
232233
TreeKey: routingTreeKey,

0 commit comments

Comments
 (0)