Skip to content

Commit

Permalink
DNOLD_IS_ECN introduced by r266941 is not required.
Browse files Browse the repository at this point in the history
DNOLD_* flags are for compat with old binaries.

Suggested by: luigi


git-svn-id: svn+ssh://svn.freebsd.org/base/head@266955 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
  • Loading branch information
hiren committed Jun 1, 2014
1 parent e4de2a4 commit 6d927a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sys/netpfil/ipfw/ip_dn_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ struct dn_flow_set {
#define DNOLD_QSIZE_IS_BYTES 0x0008 /* queue size is measured in bytes */
#define DNOLD_NOERROR 0x0010 /* do not report ENOBUFS on drops */
#define DNOLD_HAS_PROFILE 0x0020 /* the pipe has a delay profile. */
#define DNOLD_IS_ECN 0x0040
#define DNOLD_IS_PIPE 0x4000
#define DNOLD_IS_QUEUE 0x8000

Expand Down Expand Up @@ -339,8 +338,6 @@ convertflags2new(int src)
dst |= DN_IS_RED;
if (src & DNOLD_IS_GENTLE_RED)
dst |= DN_IS_GENTLE_RED;
if (src & DNOLD_IS_ECN)
dst |= DN_IS_ECN;
if (src & DNOLD_HAS_PROFILE)
dst |= DN_HAS_PROFILE;

Expand Down

0 comments on commit 6d927a4

Please sign in to comment.