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 <yamam...@midokura.com> --- lib/ofp-actions.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ofp-actions.h b/lib/ofp-actions.h index 773b617..f5a5b78 100644 --- a/lib/ofp-actions.h +++ b/lib/ofp-actions.h @@ -499,6 +499,10 @@ struct { \ uint8_t recirc_table; \ } +#if !defined(IPPORT_FTP) +#define IPPORT_FTP 21 +#endif + /* OFPACT_CT. * * Used for NXAST_CT. */ -- 2.3.8 (Apple Git-58) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev