masqmail_route uses obsolete connect_route option

Bug #2797 reported by auspex on 2005-10-03
4
Affects Status Importance Assigned to Milestone
whereami (Debian)
New
Undecided
Unassigned
whereami (Ubuntu)
Medium
MOTU

Bug Description

Masqmail now uses the "online_routes" option instead of "connect_route". This patch will work for both:

--- /usr/share/whereami/masqmail_route 2005-09-30 08:43:46.000000000 -0300
+++ /usr/share/whereami/masqmail_route.old 2005-04-15 01:26:36.000000000 -0300
@@ -23 +23 @@
- if grep -E "^(connect_route|online_routes).${LOCN} *=" /etc/masqmail/masqmail.conf >/dev/null ; then
+ if grep "^connect_route.${LOCN} *=" /etc/masqmail/masqmail.conf >/dev/null ; then

auspex (auspex) wrote :

Oops, sorry. First time I ever posted a patch, and I got it backwards...

--- masqmail_route.old 2005-04-15 01:26:36.000000000 -0300
+++ masqmail_route 2005-09-30 08:43:46.000000000 -0300
@@ -23 +23 @@
- if grep "^connect_route.${LOCN} *=" /etc/masqmail/masqmail.conf >/dev/null ; then
+ if grep -E "^(connect_route|online_routes).${LOCN} *=" /etc/masqmail/masqmail.conf >/dev/null ; then

Changed in whereami:
assignee: nobody → motu
Changed in whereami:
status: New → PendingUpload
Changed in whereami:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers