Revision: 586
          http://sourceforge.net/p/vde/svn/586
Author:   garden
Date:     2014-10-12 21:12:39 +0000 (Sun, 12 Oct 2014)
Log Message:
-----------
Enable vde_over_ns when header is present.
Remove unused variable in vde_over_ns.

Modified Paths:
--------------
    trunk/vde-2/configure.ac
    trunk/vde-2/src/vde_over_ns/dns.c

Modified: trunk/vde-2/configure.ac
===================================================================
--- trunk/vde-2/configure.ac    2014-10-12 20:55:52 UTC (rev 585)
+++ trunk/vde-2/configure.ac    2014-10-12 21:12:39 UTC (rev 586)
@@ -45,7 +45,8 @@
 AC_CHECK_HEADERS([openssl/blowfish.h], [],
   [add_cryptcab_support=no ; warn_cryptcab=yes])
 
-AC_CHECK_HEADERS([sysexits.h], [],
+AC_CHECK_HEADERS([sysexits.h],
+  [add_over_ns_support=yes],
   [add_over_ns_support=no ; warn_over_ns=yes])
 
 # Checks for typedefs, structures, and compiler characteristics.

Modified: trunk/vde-2/src/vde_over_ns/dns.c
===================================================================
--- trunk/vde-2/src/vde_over_ns/dns.c   2014-10-12 20:55:52 UTC (rev 585)
+++ trunk/vde-2/src/vde_over_ns/dns.c   2014-10-12 21:12:39 UTC (rev 586)
@@ -431,11 +431,10 @@
 unsigned char *dns_constructpacket (struct dnspkt *pkt, int *l)
 {
    static unsigned char *buf, *ptr;
-   int len, *offsets, qdcount, ancount, i;
+   int len, *offsets, qdcount, i;
    struct rr *list;
    
    qdcount = _get_listlen(pkt->query);
-   ancount = _get_listlen(pkt->answer);
 
    len = dns_getpktsize(pkt);
    ptr = buf = malloc(len);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to