map: add include guard to map.h 87/30187/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Sun, 29 Nov 2020 21:05:42 +0000 (16:05 -0500)
committerOle Tr�an <otroan@employees.org>
Mon, 30 Nov 2020 09:08:08 +0000 (09:08 +0000)
Type: fix

Change-Id: I26c3640d9fe82d4cf22f19935eeca1411f9a1c3b
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/plugins/map/map.h

index 215a832..d874aa4 100644 (file)
@@ -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
  *