Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 17:17:20 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r272996 - stable/10/sys/contrib/ipfilter/netinet
Message-ID:  <201410121717.s9CHHKOS063729@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sun Oct 12 17:17:19 2014
New Revision: 272996
URL: https://svnweb.freebsd.org/changeset/base/272996

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

Modified:
  stable/10/sys/contrib/ipfilter/netinet/ip_dns_pxy.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/contrib/ipfilter/netinet/ip_dns_pxy.c
==============================================================================
--- stable/10/sys/contrib/ipfilter/netinet/ip_dns_pxy.c	Sun Oct 12 17:15:20 2014	(r272995)
+++ stable/10/sys/contrib/ipfilter/netinet/ip_dns_pxy.c	Sun Oct 12 17:17:19 2014	(r272996)
@@ -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?201410121717.s9CHHKOS063729>