svn commit: r327140 - head/sbin/ipfw

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Sun Dec 24 07:11:32 UTC 2017


> Author: ae
> Date: Sun Dec 24 01:55:12 2017
> New Revision: 327140
> URL: https://svnweb.freebsd.org/changeset/base/327140
> 
> Log:
>   Fix rule number truncation, use uint16_t type to specify rulenum.
>   
>   PR:		224555
>   MFC after:	1 week
> 
> Modified:
>   head/sbin/ipfw/ipfw2.c
> 
> Modified: head/sbin/ipfw/ipfw2.c
> ==============================================================================
> --- head/sbin/ipfw/ipfw2.c	Sun Dec 24 01:16:28 2017	(r327139)
> +++ head/sbin/ipfw/ipfw2.c	Sun Dec 24 01:55:12 2017	(r327140)
> @@ -2256,12 +2256,13 @@ do_range_cmd(int cmd, ipfw_range_tlv *rt)
>  void
>  ipfw_sets_handler(char *av[])
>  {
> -	uint32_t masks[2];
> -	int i;
> -	uint8_t cmd, rulenum;
>  	ipfw_range_tlv rt;
>  	char *msg;
>  	size_t size;
> +	uint32_t masks[2];
> +	int i;

Why do these 2 lines show up as null changes in the diff????
I can not see any change, not even white space.

> +	uint16_t rulenum;
> +	uint8_t cmd;
>  
>  	av++;
>  	memset(&rt, 0, sizeof(rt));

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-head mailing list