There was an error while loading. Please reload this page.
1 parent c0d5cd0 commit f841e81Copy full SHA for f841e81
pkg/edgefunc/runc/network/net.go
@@ -11,6 +11,7 @@ import (
11
"os"
12
"path/filepath"
13
goruntime "runtime"
14
+"syscall"
15
16
"github.com/dgraph-io/badger/v4"
17
"github.com/metal-stack/go-ipam"
@@ -185,7 +186,7 @@ func (n *Network) Init(ctx context.Context) error {
185
186
IP: net.ParseIP("0.0.0.0"),
187
Mask: net.CIDRMask(0, 32),
188
}
-if err := netlink.RuleAdd(rule); err != nil {
189
+if err := netlink.RuleAdd(rule); err != nil && !errors.Is(err, syscall.EEXIST) {
190
return fmt.Errorf("failed to add routing rule: %w", err)
191
192
0 commit comments