FACT++  1.0
int dis_no_dns ( )

Definition at line 3375 of file dis.c.

References dll_get_next(), and dis_dns_ent::serving.

Referenced by do_dis_stop_serving_dns().

3376 {
3377  DIS_DNS_CONN *dnsp;
3378 
3379  dnsp = (DIS_DNS_CONN *) DNS_head;
3380  while ( (dnsp = (DIS_DNS_CONN *) dll_get_next( (DLL *) DNS_head, (DLL *) dnsp)))
3381  {
3382 /*
3383  if(dnsp != Default_DNS)
3384  return 0;
3385 */
3386  if(dnsp->serving)
3387  return 0;
3388  }
3389  return 1;
3390 }
int serving
Definition: dis.c:46
Definition: dim.h:530
DLL * dll_get_next(DLL *head, DLL *item)
Definition: dll.c:66
static DIS_DNS_CONN * DNS_head
Definition: dis.c:108

+ Here is the call graph for this function:

+ Here is the caller graph for this function: