summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Phillips <mphillips81@bloomberg.net>2022-05-18 12:52:22 -0400
committerMatt Phillips <mphillips81@bloomberg.net>2022-05-18 12:57:31 -0400
commiteab8a763263295dff15d1893f257312b1851749c (patch)
tree8265ce8f85fdb4fcec79fb92d07dba251b4733f3
parente7ccaeb958d1d4b54401d3948c7e16bb5fca642e (diff)
downloadohai-eab8a763263295dff15d1893f257312b1851749c.tar.gz
update comments
Signed-off-by: Matt Phillips <mphillips81@bloomberg.net>
-rw-r--r--spec/unit/plugins/linux/network_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/plugins/linux/network_spec.rb b/spec/unit/plugins/linux/network_spec.rb
index c311bafe..810fc37f 100644
--- a/spec/unit/plugins/linux/network_spec.rb
+++ b/spec/unit/plugins/linux/network_spec.rb
@@ -1360,10 +1360,9 @@ describe Ohai::System, "Linux Network Plugin" do
# notes:
# route 172.16.19.39 is the addr of tun0 ; see :linux_ifconfig at top of file
- # route 10.116.201.1 discarded because src 192.116.201.1 does not match eth0 ("Skipping route entry whose src does not match the interface IP")
# route 10.116.201.0/24 is discarded because it is not a default route
# route 192.168.0.0/24 is discarded because src 192.168.0.2 does not match eth0 ("Skipping route entry whose src does not match the interface IP")
- # route 10.116.201.254 is chosen over 172.16.19.39 because its metric is lower (5 < 10)
+ # route 10.116.201.254 is chosen over 172.16.19.39 and 10.116.201.1 because its metric is lower (5 < 10, 10)
describe "when there's a source field in a local route entry but no dev with a higher priority default route" do
let(:linux_ip_route) do
<<~EOM