From eab8a763263295dff15d1893f257312b1851749c Mon Sep 17 00:00:00 2001 From: Matt Phillips Date: Wed, 18 May 2022 12:52:22 -0400 Subject: update comments Signed-off-by: Matt Phillips --- spec/unit/plugins/linux/network_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1