From f1e97700a469e211be93a4525c291d4a392ec7cb Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Wed, 26 Jun 2019 17:36:22 -0300
Subject: [PATCH] Off by one

---
 bin/monitor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/monitor.js b/bin/monitor.js
index 1f0e420..0e84360 100755
--- a/bin/monitor.js
+++ b/bin/monitor.js
@@ -61,7 +61,7 @@ function    dnspeercachelookup()
                 var     enode   =   json.Answer[i].data;
                 // strip quotes
                 if ( enode.substring(0,1) == '"' && enode.substring(enode.length-1) == '"' )
-                    enode       =   enode.substring(1,enode.length-2);
+                    enode       =   enode.substring(1,enode.length-1);
                 console.log(
                     "We have no peers, so will try to connect to "
                     + enode
-- 
GitLab