FS#5669 - iproute 061002 "ip route get <address>" doesn't return MTU

Attached to Project: Arch Linux
Opened by Joe (kernel528) - Wednesday, 25 October 2006, 22:54 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 26 October 2006, 10:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The latest iproute package doesn't return the "mtu" string, which causes vpnc to malfunction. This works fine with iproute 060323. Below are some examples:
Package: iproute 061002-1
Command: ip route get 163.228.80.21
Result: 163.228.80.21 via 192.168.0.1 dev eth0 src 192.168.0.100 cache (null) 1500 ssthresh 1460 advmss 64
Issue: The "(null)" string is not correct, and results in the following error when using vpnc-0.3.3-4 package: Error: either "to" is duplicate, or "(null)" is a garbage.

However, with the previous version of iproute, this is not an issue:
Package: iproute 060323
Command: ip route get 163.228.80.21
Result: 163.228.80.21 via 192.168.0.1 dev eth0 src 192.168.0.103 cache mtu 1500 advmss 1460 metric 10 64
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Friday, 27 October 2006, 06:53 GMT
Reason for closing:  Fixed
Comment by Thomas Bächler (brain0) - Thursday, 26 October 2006, 12:07 GMT
This looks like a bug in iproute to me. I'll try to find that out and maybe fix it. In that case, fixing it in vpnc would be nonsense.
Comment by Tobias Powalowski (tpowa) - Thursday, 26 October 2006, 13:51 GMT
informed the leader of iproute2 perhaps he knows something about it.
Comment by Tobias Powalowski (tpowa) - Thursday, 26 October 2006, 16:07 GMT
ok please confirm if -2 package fixes the bug, added a patch from the maintainer
Comment by Joe (kernel528) - Thursday, 26 October 2006, 17:32 GMT
Yep, it works.
{joe@sith} {~} $ ip route get 163.228.80.22
163.228.80.22 via 10.160.10.254 dev eth0 src 10.160.10.135
cache mtu 1500 advmss 1460 hoplimit 64

{joe@sith} {~} $ pacman -Q | grep iproute
iproute 061002-2

Loading...