svn commit: r272553 - head/sys/contrib/ipfilter/netinet

Cy Schubert cy at FreeBSD.org
Sun Oct 5 03:48:09 UTC 2014


Author: cy
Date: Sun Oct  5 03:48:09 2014
New Revision: 272553
URL: https://svnweb.freebsd.org/changeset/base/272553

Log:
  ipfilter bug #538 ipf_p_dns_del should return void
  
  Obtained from:	ipfilter cvs repo (r1.8)

Modified:
  head/sys/contrib/ipfilter/netinet/ip_dns_pxy.c

Modified: head/sys/contrib/ipfilter/netinet/ip_dns_pxy.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_dns_pxy.c	Sun Oct  5 03:45:19 2014	(r272552)
+++ head/sys/contrib/ipfilter/netinet/ip_dns_pxy.c	Sun Oct  5 03:48:09 2014	(r272553)
@@ -29,7 +29,7 @@ typedef struct ipf_dns_softc_s {
 
 int ipf_p_dns_allow_query __P((ipf_dns_softc_t *, dnsinfo_t *));
 int ipf_p_dns_ctl __P((ipf_main_softc_t *, void *, ap_ctl_t *));
-int ipf_p_dns_del __P((ipf_main_softc_t *, ap_session_t *));
+void ipf_p_dns_del __P((ipf_main_softc_t *, ap_session_t *));
 int ipf_p_dns_get_name __P((ipf_dns_softc_t *, char *, int, char *, int));
 int ipf_p_dns_inout __P((void *, fr_info_t *, ap_session_t *, nat_t *));
 int ipf_p_dns_match __P((fr_info_t *, ap_session_t *, nat_t *));
@@ -214,7 +214,7 @@ ipf_p_dns_new(arg, fin, aps, nat)
 
 
 /* ARGSUSED */
-int
+void
 ipf_p_dns_del(softc, aps)
 	ipf_main_softc_t *softc;
 	ap_session_t *aps;
@@ -227,7 +227,6 @@ ipf_p_dns_del(softc, aps)
 	KFREES(aps->aps_data, aps->aps_psiz);
 	aps->aps_data = NULL;
 	aps->aps_psiz = 0;
-	return 0;
 }
 
 


More information about the svn-src-all mailing list