Commit f86e8ba
fix: only disable IPv6 when present
When the host has IPv6 disabled via "ipv6.disable=1" completely the service to
setup up a macvtap interface fails because it tries to write to the nonexistant
"/proc/sys/net/ipv6" directory. Fix this by checking for its presence first.1 parent 5f0ab79 commit f86e8ba
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments