]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2672] Fix duplicate use of message ID
authorMukund Sivaraman <muks@isc.org>
Thu, 7 Feb 2013 04:41:37 +0000 (10:11 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 7 Feb 2013 04:41:37 +0000 (10:11 +0530)
This is not allowed by our coding style. Use the correct message ID
instead (which was previously unused).

src/bin/stats/stats_httpd.py.in

index dea48e13745a7276695a0b6b7ededa798caac366..367f56e6c1fff12d71a67cb9ad71865053ceba4e 100755 (executable)
@@ -413,7 +413,7 @@ class StatsHttpd:
         try:
             self.open_httpd()
         except HttpServerError as err:
-            logger.error(STATSHTTPD_SERVER_ERROR, err)
+            logger.error(STATSHTTPD_SERVER_INIT_ERROR, err)
             # restore old config
             self.load_config(old_config)
             self.open_httpd()