diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-09-14 17:17:17 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-14 17:20:30 -0700 |
commit | 39470428dd3c5fef966cee138ae00ab8b9059983 (patch) | |
tree | 98a2c5f1d0a4046ef94e3594c6eb5b9e3c6ff263 /runsc/cmd/spec.go | |
parent | d6c99694bcb9a5e4ce50ff48d648ba6ada0b9687 (diff) |
Use a shared method to get loopback index
Code to get the loopback interface's index is scattered throughout the
syscall tests. Implement the code once and use that in tests (where
applicable).
While I am here, trim the dependencies/includes for network namespace
tests.
PiperOrigin-RevId: 396718124
Diffstat (limited to 'runsc/cmd/spec.go')
0 files changed, 0 insertions, 0 deletions