Date: Sun, 26 Apr 2009 23:34:58 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 161159 for review Message-ID: <200904262334.n3QNYwdP068654@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=161159 Change 161159 by zec@zec_amdx2 on 2009/04/26 23:34:18 Nuke unnecessary curly braces - reduce diff against svn. Affected files ... .. //depot/projects/vimage/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c#19 edit Differences ... ==== //depot/projects/vimage/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c#19 (text+ko) ==== @@ -245,9 +245,8 @@ bzero((char *)frcache, sizeof(frcache)); fr_running = 1; - if (fr_control_forwarding & 1) { + if (fr_control_forwarding & 1) V_ipforwarding = 1; - } SPL_X(s); #if (__FreeBSD_version >= 300000) @@ -270,9 +269,8 @@ #ifdef USE_SPL int s; #endif - if (fr_control_forwarding & 2) { + if (fr_control_forwarding & 2) V_ipforwarding = 0; - } SPL_NET(s);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904262334.n3QNYwdP068654>