summaryrefslogtreecommitdiffstats
path: root/src/plugins/map/map.h
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-11-29 16:05:42 -0500
committerOle Tr�an <otroan@employees.org>2020-11-30 09:08:08 +0000
commitf55c34173ad778b71345c66376da8d2d5584d785 (patch)
treeadb7dc200fb1c86617f180a84fdc38ce0cdb35f6 /src/plugins/map/map.h
parent7acab3790c33f0a9aeaac73a5b3171ad17382448 (diff)
map: add include guard to map.h
Type: fix Change-Id: I26c3640d9fe82d4cf22f19935eeca1411f9a1c3b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins/map/map.h')
-rw-r--r--src/plugins/map/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/map/map.h b/src/plugins/map/map.h
index 215a832f431..d874aa47b3a 100644
--- a/src/plugins/map/map.h
+++ b/src/plugins/map/map.h
@@ -12,6 +12,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#ifndef included_map_h
+#define included_map_h
+
#include <stdbool.h>
#include <vppinfra/error.h>
#include <vnet/vnet.h>
@@ -493,6 +496,7 @@ ip6_map_ip4_lookup_bypass (vlib_buffer_t * p0, ip4_header_t * ip)
return (false);
}
+#endif
/*
* fd.io coding-style-patch-verification: ON
*