diff --git a/test/test-network/conf/25-route-static.network b/test/test-network/conf/25-route-static.network index 6aa3ec66dc..44acb19f34 100644 --- a/test/test-network/conf/25-route-static.network +++ b/test/test-network/conf/25-route-static.network @@ -44,6 +44,10 @@ InitialAdvertisedReceiveWindow=30 Destination=192.168.1.3 TCPAdvertisedMaximumSegmentSize=30 +[Route] +Destination=192.168.1.4 +HopLimit=122 + [Route] Type=blackhole Destination=202.54.1.2 diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 2257003c0b..5910d0d8da 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -2946,6 +2946,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities): self.assertIn('192.168.1.1 proto static scope link initcwnd 20', output) self.assertIn('192.168.1.2 proto static scope link initrwnd 30', output) self.assertIn('192.168.1.3 proto static scope link advmss 30', output) + self.assertIn('192.168.1.4 proto static scope link hoplimit 122', output) self.assertIn('multicast 149.10.123.4 proto static', output) print('### ip -4 route show dev dummy98 default')