projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Define OVSP_NONE in a more clear way
[openvswitch]
/
lib
/
odp-util.h
diff --git
a/lib/odp-util.h
b/lib/odp-util.h
index f902b766dd1d8013314a87e9ed1822ace1426699..16f2b156707260c6e720b2c23530d2dda609e888 100644
(file)
--- 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)