pkg/ip: refactored so that builds succeed on non-linux platforms
authorAithal <aithal@amazon.com>
Thu, 23 Feb 2017 17:52:13 +0000 (09:52 -0800)
committerAithal <aithal@amazon.com>
Thu, 23 Feb 2017 17:52:13 +0000 (09:52 -0800)
commit7eeb21a999478af1129bf549ba8c0cbbe6266191
treeb868fdb46779319958c1f4d7e9eaa41e744d404e
parent0dc0845c51f2e6acaaf157383900c64ef7ac8809
pkg/ip: refactored so that builds succeed on non-linux platforms

moved functions that depend on linux packages into a separate file and added
nop methods with a build tag for non-linux platforms in a new file.
pkg/ip/route.go
pkg/ip/route_linux.go [new file with mode: 0644]
pkg/ip/route_unspecified.go [new file with mode: 0644]