Blob Blame History Raw
--- src/mitm/ec_dhcp_spoofing.c~	2012-10-16 18:17:43.608193971 +0200
+++ src/mitm/ec_dhcp_spoofing.c	2012-10-16 18:18:13.444211858 +0200
@@ -96,7 +96,7 @@
          char tmp[strlen(p)+3];
 
          /* add the / to be able to use the target parsing function */
-         snprintf(tmp, strlen(p)+3, "/%s/", p);
+         snprintf(tmp, strlen(p)+4, "/%s//", p);
 
          if (compile_target(tmp, &dhcp_ip_pool) != ESUCCESS)
             break;