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)
commit7d5619d27787acb55bb0cb477e49aff801bc618b
tree8f4b174e95489a8afb31a83e3e61df63b5dc86f5
parent46deb7b708b2dcb11f861758122b28cf892238d0
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.
ip/route.go
ip/route_linux.go [new file with mode: 0644]
ip/route_unspecified.go [new file with mode: 0644]