Add warning when net.ipv4.ip_forwarding = 0

Added warnings to api.go, container.go, commands.go, and runtime.go
Also updated APIInfo to return whether IPv4Forwarding is enabled
This commit is contained in:
Colin Rice
2013-08-07 18:28:39 -04:00
parent 65a4e30825
commit 10190be5d7
7 changed files with 25 additions and 3 deletions
+2 -1
View File
@@ -1025,7 +1025,8 @@ Display system-wide information
"NFd": 11,
"NGoroutines":21,
"MemoryLimit":true,
"SwapLimit":false
"SwapLimit":false,
"IPv4Forwarding":true
}
:statuscode 200: no error