diff options
author | Zoltan Kiss <zoltan.kiss@citrix.com> | 2012-07-12 18:24:17 +0100 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-07-12 16:49:16 -0700 |
commit | 31a1e58ec7236b915cd9b49d9e927ad90b5ae285 (patch) | |
tree | 6433291fb9ea1f08e8f969c851f51b58c5345588 | |
parent | 4f8f2439c3cd93b856442816f97e77e95e605042 (diff) | |
download | openvswitch-31a1e58ec7236b915cd9b49d9e927ad90b5ae285.tar.gz |
lib: Define OVSP_NONE in a more clear way
The value represented by the macro would stay exactly the same, just become obvious.
Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | lib/odp-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/odp-util.h b/lib/odp-util.h index f902b766d..16f2b1567 100644 --- a/lib/odp-util.h +++ b/lib/odp-util.h @@ -32,7 +32,7 @@ struct nlattr; struct ofpbuf; struct simap; -#define OVSP_NONE ((uint16_t) -1) +#define OVSP_NONE UINT16_MAX static inline uint16_t ofp_port_to_odp_port(uint16_t ofp_port) |