selftests: pmtu: Factor out MTU parsing helper
authorStefano Brivio <sbrivio@redhat.com>
Sat, 17 Mar 2018 01:31:40 +0000 (02:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:15:14 +0000 (20:15 -0400)
commitf2c929feeccd3d56be284b9e24e04cd3c4779a4f
treedfd6fb1910edbb3949a6ed1fd30b06e90e44eb4c
parent822d2f86c485113dc5df7648e97aaef3607c4479
selftests: pmtu: Factor out MTU parsing helper

...so that it can be used for any iproute command output.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh