[Xorp-hackers] [PATCH 1/1] rtrmgr fixes

Igor Maravic igorm at etf.rs
Tue Sep 27 04:30:04 PDT 2011


Signed-off-by: Igor Maravic <igorm at etf.rs>
---
:100644 100644 662c123... db5f9e8... M	xorp/rtrmgr/xrldb.cc
:100644 100644 ee5765c... a147366... M	xorp/rtrmgr/xrldb.hh
 xorp/rtrmgr/xrldb.cc |    4 ++--
 xorp/rtrmgr/xrldb.hh |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xorp/rtrmgr/xrldb.cc b/xorp/rtrmgr/xrldb.cc
index 662c123..db5f9e8 100644
--- a/xorp/rtrmgr/xrldb.cc
+++ b/xorp/rtrmgr/xrldb.cc
@@ -160,7 +160,7 @@ XRLtarget::str() const
 XRLdb::XRLdb(const string& xrldir, bool verbose) throw (InitError)
     : _verbose(verbose)
 {
-#ifdef VALIDATE_XRLDB
+#ifdef DEBUG_XRLDB
     string errmsg;
     list<string> files;
 
@@ -209,7 +209,7 @@ XRLdb::XRLdb(const string& xrldir, bool verbose) throw (InitError)
 #endif
 }
 
-#ifdef VALIDATE_XRLDB
+#ifdef DEBUG_XRLDB
 bool
 XRLdb::check_xrl_syntax(const string& xrlstr) const
 {
diff --git a/xorp/rtrmgr/xrldb.hh b/xorp/rtrmgr/xrldb.hh
index ee5765c..a147366 100644
--- a/xorp/rtrmgr/xrldb.hh
+++ b/xorp/rtrmgr/xrldb.hh
@@ -65,7 +65,7 @@ private:
 class XRLdb {
 public:
     XRLdb(const string& xrldir, bool verbose) throw (InitError);
-#ifdef VALIDATE_XRLDB
+#ifdef DEBUG_XRLDB
     bool check_xrl_syntax(const string& xrl) const;
     XRLMatchType check_xrl_exists(const string& xrl) const;
 #endif
-- 
1.7.4.1



More information about the Xorp-hackers mailing list