[Please CC me, I am not subscribed to the list] It has been brought to my attention that the Wheezy version of the shorewall package contains a bug for users with a multi-ISP configuration. This was fixed by upstream in a subsequent release and the user has requested that the fix be included in Wheezy. Before I go building and uploading the package, I'd like to know if the patch would be suitable from the Release Team's perspective.
Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
--- lib.core-orig 2013-03-14 12:04:51.000000000 +0200 +++ lib.core-new 2013-03-14 12:06:07.000000000 +0200 @@ -916,7 +916,12 @@ delta=$1 if ! echo $route | fgrep -q ' nexthop '; then - route=`echo $route | sed 's/via/nexthop via/'` + if echo $route | fgrep -q via; then + route=`echo $route | sed 's/via/nexthop via/'` + else + route="nexthop $route" + fi + dev=$(find_device $route) if [ -f ${VARDIR}/${dev}_weight ]; then weight=`cat ${VARDIR}/${dev}_weight`
signature.asc
Description: Digital signature