Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 18:21:14 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r339841 - stable/12/sbin/ipfw
Message-ID:  <201810281821.w9SILEWH013687@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sun Oct 28 18:21:14 2018
New Revision: 339841
URL: https://svnweb.freebsd.org/changeset/base/339841

Log:
  MFC r339740:
    Use correct format specificator to print setdscp action.
  
    PR:		232642
  Approved by:	re (rgrimes)

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

Modified: stable/12/sbin/ipfw/ipfw2.c
==============================================================================
--- stable/12/sbin/ipfw/ipfw2.c	Sun Oct 28 10:59:49 2018	(r339840)
+++ stable/12/sbin/ipfw/ipfw2.c	Sun Oct 28 18:21:14 2018	(r339841)
@@ -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");



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