SF.net SVN: tmda: [2133] trunk/tmda/bin

[email protected] Tue, 19 Dec 2006 11:06:44 -0800
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Revision: 2133
          http://svn.sourceforge.net/tmda/?rev=2133&view=rev
Author:   srwarren
Date:     2006-12-19 11:06:44 -0800 (Tue, 19 Dec 2006)

Log Message:
-----------
tmda-ofmipd: Fix options parsing related issue when using default authfile value when running as root

Modified Paths:
--------------
    trunk/tmda/bin/ChangeLog
    trunk/tmda/bin/tmda-ofmipd

Modified: trunk/tmda/bin/ChangeLog
===================================================================
--- trunk/tmda/bin/ChangeLog	2006-12-07 19:53:00 UTC (rev 2132)
+++ trunk/tmda/bin/ChangeLog	2006-12-19 19:06:44 UTC (rev 2133)
@@ -1,3 +1,8 @@
+2006-12-19  Stephen Warren  <[email protected]>
+
+	* tmda-ofmipd: Fix option parsing related issue when using default
+	authfile value when running as root.
+
 2006-11-14  Stephen Warren  <[email protected]>
 
 	* tmda-ofmipd: Import part of Robert P. Thille's patch;

Modified: trunk/tmda/bin/tmda-ofmipd
===================================================================
--- trunk/tmda/bin/tmda-ofmipd	2006-12-07 19:53:00 UTC (rev 2132)
+++ trunk/tmda/bin/tmda-ofmipd	2006-12-19 19:06:44 UTC (rev 2133)
@@ -297,7 +297,7 @@
     if not opts.username:
 	opts.username = 'tofmipd'
     if not opts.authfile:
-	authfile = '/etc/tofmipd'
+	opts.authfile = '/etc/tofmipd'
     ipauthmapfile = '/etc/ipauthmap'
 else:
     tmda_path = os.path.join(os.path.expanduser('~'), '.tmda')


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.