FACT++  1.0
int dis_no_dns ( )

Definition at line 2977 of file dis_old.c.

References dll_get_next(), and dis_dns_ent::serving.

Referenced by do_dis_stop_serving_dns().

2978 {
2979  DIS_DNS_CONN *dnsp;
2980 
2981  dnsp = (DIS_DNS_CONN *) DNS_head;
2982  while ( (dnsp = (DIS_DNS_CONN *) dll_get_next( (DLL *) DNS_head, (DLL *) dnsp)))
2983  {
2984 /*
2985  if(dnsp != Default_DNS)
2986  return 0;
2987 */
2988  if(dnsp->serving)
2989  return 0;
2990  }
2991  return 1;
2992 }
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_old.c:108

+ Here is the call graph for this function:

+ Here is the caller graph for this function: