From b4d8d055a1e58d274d57ab6879a72b56ef8fdf17 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Mon, 11 Oct 2010 10:38:48 +0200 Subject: [PATCH] Fix config file regex --- src/config.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index 77d86dc..dea7544 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -626,7 +626,7 @@ int Config::load_config_from_files() if( fs::is_regular_file( dir_itr->status() ) ) { string actual_file = dir_itr->path().filename(); - boost::regex expr(".*\\.conf?"); + boost::regex expr(".*\\.conf$"); // If it is the main config file do the following if ( actual_file == "bpdyndnsd.conf" ) { -- 1.7.1