From bdc0da5ca1264511191b6fa86c2bc56d375e13d1 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Fri, 19 Feb 2010 21:30:03 -0800 Subject: [PATCH] openflow: Fix frag config flag values --- include/openflow/openflow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h index c8477aab3..27dae8fd4 100644 --- a/include/openflow/openflow.h +++ b/include/openflow/openflow.h @@ -141,10 +141,10 @@ struct ofp_hello { enum ofp_config_flags { /* Handling of IP fragments. */ - OFPC_FRAG_NORMAL = 0 << 1, /* No special handling for fragments. */ - OFPC_FRAG_DROP = 1 << 1, /* Drop fragments. */ - OFPC_FRAG_REASM = 2 << 1, /* Reassemble (only if OFPC_IP_REASM set). */ - OFPC_FRAG_MASK = 3 << 1 + OFPC_FRAG_NORMAL = 0, /* No special handling for fragments. */ + OFPC_FRAG_DROP = 1, /* Drop fragments. */ + OFPC_FRAG_REASM = 2, /* Reassemble (only if OFPC_IP_REASM set). */ + OFPC_FRAG_MASK = 3 }; /* Switch configuration. */ -- 2.43.0