-Note that restarting the helper demands restarting the hijacker, too
PLIBC_KILL(mycls.helper_pid, SIGKILL);
GNUNET_OS_process_wait(mycls.helper_pid);
+ // FIXME: send msg to service-dns -- the hijacker has to be started again, too, the routing table is flushed if it depends on one interface
+
GNUNET_DISK_pipe_close(mycls.helper_in);
GNUNET_DISK_pipe_close(mycls.helper_out);
wri=0;
goto outer;
}
+ if(pkt->hdr.type != ntohs(GNUNET_MESSAGE_TYPE_VPN_HELPER)) abort();
while (r < ntohs(pkt->hdr.size)) {
int t = read(0, buf + r, ntohs(pkt->hdr.size) - r);
if (r < 0) {