Public bug reported:
Binary package hint: ipkungfu
If you have a host with the same interface on two different subnets, you
end up with syntax errors that prevent ipkungfu from working.
The fix, to /usr/sbin/ipkungfu is:
# Detect EXT_NET if not specified
if [ -z "$EXT_NET" ] ; then
EXT_NET=`route -n | grep ^0.0.0.0 | awk '{print $8}'`
fi
becomes:
# Detect EXT_NET if not specified
if [ -z "$EXT_NET" ] ; then
EXT_NET=`route -n | grep ^0.0.0.0 | awk '{print $8}' | head -n1`
fi
That is, add the "| head -n1" part.
** Affects: ipkungfu (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Syntax Errors with Multihomed Hosts
https://launchpad.net/bugs/53328
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs