diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-01-23 21:56:00 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-01-28 15:34:40 -0800 |
| commit | 7aec165dbc4690c8c2c703d142e2f017bb851d31 (patch) | |
| tree | b6639f7e78c47515294332df4184f030145af549 /ofproto/in-band.c | |
| parent | 3d8c95357fc8fa657c5ed176a464d0c9d33622e9 (diff) | |
| download | openvswitch-7aec165dbc4690c8c2c703d142e2f017bb851d31.tar.gz | |
datapath: s/ODPAT_/ODP_ACTION_ATTR_/ to fit new naming scheme.
Jesse suggested this naming scheme, so I'm adjusting existing names to
fit it.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'ofproto/in-band.c')
| -rw-r--r-- | ofproto/in-band.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ofproto/in-band.c b/ofproto/in-band.c index 6623aca0b..94d2cb573 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -445,7 +445,7 @@ in_band_rule_check(struct in_band *in_band, const struct flow *flow, unsigned int left; NL_ATTR_FOR_EACH_UNSAFE (a, left, actions, actions_len) { - if (nl_attr_type(a) == ODPAT_OUTPUT + if (nl_attr_type(a) == ODP_ACTION_ATTR_OUTPUT && nl_attr_get_u32(a) == ODPP_LOCAL) { return true; } |
