Merge pull request #654 from anqid-g/pr/make-gcc-8-werror-happy

Address truncation warning in gcc 8+
diff --git a/src/inet/TunEndPoint.cpp b/src/inet/TunEndPoint.cpp
index 785a18c..c5b8fed 100644
--- a/src/inet/TunEndPoint.cpp
+++ b/src/inet/TunEndPoint.cpp
@@ -695,6 +695,7 @@
     {
         //Keep member copy of interface name and Id
         strncpy(tunIntfName, ifr.ifr_name, sizeof(tunIntfName) - 1);
+        tunIntfName[sizeof(tunIntfName) - 1] = '\0';
     }
     else
     {