PERFORCE change 125396 for review
    Matus Harvan 
    mharvan at FreeBSD.org
       
    Mon Aug 20 02:56:51 PDT 2007
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=125396
Change 125396 by mharvan at mharvan_bike-planet on 2007/08/20 09:56:09
	DNS plugin
Affected files ...
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/Makefile#11 edit
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/mtund.c#8 edit
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/Makefile#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/base32.c#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/base32.h#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/common.c#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/common.h#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/dns.c#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/dns.h#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/encoding.c#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/encoding.h#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/plugin_dns.c#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/read.c#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_dns/read.h#1 add
Differences ...
==== //depot/projects/soc2007/mharvan-mtund/mtund.src/Makefile#11 (text+ko) ====
==== //depot/projects/soc2007/mharvan-mtund/mtund.src/mtund.c#8 (text+ko) ====
@@ -1187,17 +1187,19 @@
 	signal(SIGTERM, sigcb);
 	
 	/* load the plugins */ 
-	if (server) {
-		pl = load_plugin("./plugin_udp_catchall.so");
-		pl->name = "udp_catchall";
-	} else { /* client */
-		pl = load_plugin("./plugin_udp.so");
-		pl->name = "udp_53";
-	}
+/* 	if (server) { */
+/* 		pl = load_plugin("./plugin_udp_catchall.so"); */
+/* 		pl->name = "udp_catchall"; */
+/* 	} else { /\* client *\/ */
+/* 		pl = load_plugin("./plugin_udp.so"); */
+/* 		pl->name = "udp_53"; */
+/* 	} */
 /* 	pl = load_plugin("./plugin_tcp.so"); */
 /* 	pl->name = "tcp_1234"; */
 /* 	pl = load_plugin("./plugin_icmp.so"); */
 /* 	pl->name = "icmp"; */
+	pl = load_plugin("./plugin_dns/plugin_dns.so");
+	pl->name = "dns_53";
 
 	if (server) {
 		/* initialize all plugins */
    
    
More information about the p4-projects
mailing list