catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9afd25cfb7f22e4e53a1a58c9a7150c25cfe06b6
diff --git a/src/vlan_interface.cpp b/src/vlan_interface.cpp
index 035eb07..2918989 100644
--- a/src/vlan_interface.cpp
+++ b/src/vlan_interface.cpp
@@ -55,7 +55,7 @@
     {
         stream.open(confPath.c_str(), std::fstream::out);
     }
-    catch (std::ios_base::failure& e)
+    catch (const std::ios_base::failure& e)
     {
         log<level::ERR>("Unable to open the VLAN device file",
                         entry("FILE=%s", confPath.c_str()),