projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132911b
)
ofp-actions: Define IPPORT_FTP by ourselves
author
YAMAMOTO Takashi
<yamamoto@midokura.com>
Wed, 14 Oct 2015 04:41:47 +0000
(
04:41
+0000)
committer
YAMAMOTO Takashi
<yamamoto@midokura.com>
Thu, 26 Nov 2015 09:36:54 +0000
(18:36 +0900)
IPPORT_FTP is not always provided by system headers. (eg. NetBSD, OS X)
This hides the enum on Linux but I don't think it causes a problem.
Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/ofp-actions.h
patch
|
blob
|
history
diff --git
a/lib/ofp-actions.h
b/lib/ofp-actions.h
index
d180767
..
5e97c88
100644
(file)
--- a/
lib/ofp-actions.h
+++ b/
lib/ofp-actions.h
@@
-500,6
+500,10
@@
struct { \
uint8_t recirc_table; \
}
+#if !defined(IPPORT_FTP)
+#define IPPORT_FTP 21
+#endif
+
/* OFPACT_CT.
*
* Used for NXAST_CT. */