Absolute path to ifconfig and route in ggsn and sgsnemu
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index a850de8..effe226 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -139,6 +139,7 @@
 
 
 int delete_context(struct pdp_t *pdp) {
+  if (debug) printf("Deleting PDP context\n");
   pdp_ipdel(pdp);
   return 0;
 }
@@ -177,7 +178,7 @@
   strncpy(snet, inet_ntoa(net), 100);
   strncpy(smask, inet_ntoa(mask), 100);
 
-  sprintf(buf, "ifconfig %s %s mtu 1450 netmask %s",
+  sprintf(buf, "/sbin/ifconfig %s %s mtu 1450 netmask %s",
 	  tun->devname, snet, smask);
   if (debug) printf("%s\n", buf);
   system(buf);
@@ -226,7 +227,6 @@
 
   fd_set fds;			/* For select() */
   struct timeval idleTime;	/* How long to select() */
-  int i;                          /* for loop */
 
   struct ul_t qos, apn;
   unsigned char qosh[3], apnh[256];
diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index b25fe87..dd24fce 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -114,7 +114,7 @@
   strncpy(snet, inet_ntoa(net), 100);
   strncpy(smask, inet_ntoa(mask), 100);
 
-  sprintf(buf, "ifconfig %s %s mtu 1450 netmask %s",
+  sprintf(buf, "/sbin/ifconfig %s %s mtu 1450 netmask %s",
 	  tun->devname, snet, smask);
   if (debug) printf("%s\n", buf);
   system(buf);
@@ -211,8 +211,8 @@
 	tun_fd2 = tun2->fd;
       }
       
-      /*system("ifconfig tun0 192.168.0.10");*/
-      sprintf(buf, "ifconfig %s %hu.%hu.%hu.%hu", 
+      /*system("/sbin/ifconfig tun0 192.168.0.10");*/
+      sprintf(buf, "/sbin/ifconfig %s %hu.%hu.%hu.%hu", 
 	      ((struct tun_t*) pdp->ipif)->devname,
 	      pdp->eua.v[2], pdp->eua.v[3], pdp->eua.v[4], pdp->eua.v[5]);
       printf(buf);  printf("\n");
@@ -220,7 +220,7 @@
       
       
       /*system("route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.10");*/
-      sprintf(buf, "route add -net %hu.%hu.%hu.0 netmask 255.255.255.0 gw %hu.%hu.%hu.%hu", 
+      sprintf(buf, "/sbin/route add -net %hu.%hu.%hu.0 netmask 255.255.255.0 gw %hu.%hu.%hu.%hu", 
 	      pdp->eua.v[2], pdp->eua.v[3], pdp->eua.v[4],
 	      pdp->eua.v[2], pdp->eua.v[3], pdp->eua.v[4], pdp->eua.v[5]);
       printf(buf);  printf("\n");