fix nlsr startup error

refs: #4309

Change-Id: I0eb7e97c183bbfdb86f0992533fa531698c04600
diff --git a/bin/minindn b/bin/minindn
index b2c8db6..ddcc95d 100755
--- a/bin/minindn
+++ b/bin/minindn
@@ -406,11 +406,11 @@
             if options.nFaces is not None:
                 host.nlsrParameters["max-faces-per-prefix"] = options.nFaces
 
-        if options.routingType == 'dry':
-            host.nlsrParameters["hyperbolic-state"] = "dry-run"
+            if options.routingType == 'dry':
+                host.nlsrParameters["hyperbolic-state"] = "dry-run"
 
-        elif options.routingType == 'hr':
-            host.nlsrParameters["hyperbolic-state"] = "on"
+            elif options.routingType == 'hr':
+                host.nlsrParameters["hyperbolic-state"] = "on"
 
             # Generate NLSR configuration file
             configGenerator = NlsrConfigGenerator(host, options.nlsrSecurity, options.faceType)