diff options
author | Ben Pfaff <blp@ovn.org> | 2017-07-30 17:40:32 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-07-31 16:03:38 -0700 |
commit | 4d617a87ec0be851a5a0d8f7f99ffb237a0ef397 (patch) | |
tree | e9a865c387611d6fa3c3188ec3c39680660feaad /include | |
parent | 3e892d4396128e27c751c686bb304598f740d197 (diff) | |
download | openvswitch-4d617a87ec0be851a5a0d8f7f99ffb237a0ef397.tar.gz |
ofp-util: Avoid C++ keyword 'public' in name of struct member.
This allows a C++ program to include ofp-util.h.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openvswitch/ofp-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openvswitch/ofp-util.h b/include/openvswitch/ofp-util.h index 07723b427..5d911af89 100644 --- a/include/openvswitch/ofp-util.h +++ b/include/openvswitch/ofp-util.h @@ -500,7 +500,7 @@ bool ofputil_packet_in_reason_from_string(const char *, * to any process other than ovs-vswitchd. Therefore, only ovs-vswitchd should * use ofputil_packet_in_private and the functions that operate on it. */ struct ofputil_packet_in_private { - struct ofputil_packet_in public; + struct ofputil_packet_in base; /* NXCPT_BRIDGE. */ struct uuid bridge; |