Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 03:48:09 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272553 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201410050348.s953m9aJ016072@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410050348.s953m9aJ016072>