Show
Ignore:
Timestamp:
02/06/05 13:14:58 (7 years ago)
Author:
minaguib
Message:

Implemented captive DNS, including new "dnsserver" thread and redirection iptables rules

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CaptiveDNS/wifidog/src/gateway.c

    r422 r431  
    5858#include "ping_thread.h" 
    5959#include "httpd_thread.h" 
     60#include "dnsserver_thread.h" 
    6061#include "util.h" 
    6162 
     
    214215        /* start heartbeat thread */ 
    215216        pthread_create(&tid, NULL, (void *)thread_ping, NULL); 
     217        pthread_detach(tid); 
     218         
     219        /* start dnsserver thread */ 
     220        pthread_create(&tid, NULL, (void *)thread_dnsserver, NULL); 
    216221        pthread_detach(tid); 
    217222