Parcourir la source

[878] Minor change in comment.

Tomek Mrugalski il y a 13 ans
Parent
commit
3a11f2fd5b
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/bin/dhcp6/iface_mgr.cc

+ 3 - 1
src/bin/dhcp6/iface_mgr.cc

@@ -35,7 +35,9 @@ IfaceMgr* IfaceMgr::instance_ = 0;
 void
 IfaceMgr::instanceCreate() {
     if (instance_) {
-        // TODO throw exception here
+        // no need to do anything. Instance is already created.
+        // Who called it again anyway? Uh oh. Had to be us, as 
+        // this is private method.
         return;
     }
     instance_ = new IfaceMgr();