aboutsummaryrefslogtreecommitdiff
path: root/lib/learning-switch.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-06-24 13:58:08 -0700
committerBen Pfaff <blp@nicira.com>2011-06-30 10:02:55 -0700
commit8f93e93c807d3acd06fb3b367276f574164b1a9c (patch)
tree066f50ebc6f55185021d8ecd8a9858241a2e969f /lib/learning-switch.c
parentfb115f912bf9e608e32606ea0a5bae6e11c9fbfa (diff)
ofp-util: Rename OFPUTIL_INVALID to OFPUTIL_MSG_INVALID.
An upcoming commit will introduce new OPFUTIL_* constants for actions. It seems best to be able to visually distinguish the contants. Most of the existing constants start with a good prefix, but OFPUTIL_INVALID does not, so rename it.
Diffstat (limited to 'lib/learning-switch.c')
-rw-r--r--lib/learning-switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/learning-switch.c b/lib/learning-switch.c
index 077251c9..4a5d8891 100644
--- a/lib/learning-switch.c
+++ b/lib/learning-switch.c
@@ -225,7 +225,7 @@ lswitch_process_packet(struct lswitch *sw, struct rconn *rconn,
/* Nothing to do. */
break;
- case OFPUTIL_INVALID:
+ case OFPUTIL_MSG_INVALID:
case OFPUTIL_OFPT_HELLO:
case OFPUTIL_OFPT_ERROR:
case OFPUTIL_OFPT_ECHO_REPLY: