svn commit: r339842 - stable/11/sbin/ipfw

Andrey V. Elsukov ae at FreeBSD.org
Sun Oct 28 18:23:14 UTC 2018


Author: ae
Date: Sun Oct 28 18:23:13 2018
New Revision: 339842
URL: https://svnweb.freebsd.org/changeset/base/339842

Log:
  MFC r339740:
    Use correct format specificator to print setdscp action.
  
    PR:		232642

Modified:
  stable/11/sbin/ipfw/ipfw2.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sbin/ipfw/ipfw2.c
==============================================================================
--- stable/11/sbin/ipfw/ipfw2.c	Sun Oct 28 18:21:14 2018	(r339841)
+++ stable/11/sbin/ipfw/ipfw2.c	Sun Oct 28 18:23:13 2018	(r339842)
@@ -1946,7 +1946,7 @@ print_action_instruction(struct buf_pr *bp, const stru
 		if (s != NULL)
 			bprintf(bp, "setdscp %s", s);
 		else
-			bprintf(bp, "setdscp %s", cmd->arg1 & 0x3F);
+			bprintf(bp, "setdscp %u", cmd->arg1 & 0x3F);
 		break;
 	case O_REASS:
 		bprintf(bp, "reass");


More information about the svn-src-stable-11 mailing list