add AUTO_VLAN to the config file template

Signed-off-by: Chris Leech <[email protected]>
---

 etc/cfg-ethx    |    5 +++++
 lib/rtnetlink.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/etc/cfg-ethx b/etc/cfg-ethx
index 96eca59..b7274ac 100644
--- a/etc/cfg-ethx
+++ b/etc/cfg-ethx
@@ -7,3 +7,8 @@ FCOE_ENABLE="yes"
 ## Default:    yes
 # Indicate if DCB service is required at the Ethernet port
 DCB_REQUIRED="yes"
+
+## Type:       yes/no
+## Default:    yes
+# Indicate if VLAN discovery should be handled by fcoemon
+AUTO_VLAN="yes"
diff --git a/lib/rtnetlink.c b/lib/rtnetlink.c
index 2f89bf9..b7a32f2 100644
--- a/lib/rtnetlink.c
+++ b/lib/rtnetlink.c
@@ -39,6 +39,7 @@
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>
 #include "rtnetlink.h"
+#include "fcoemon_utils.h"
 
 #define RTNL_LOG(...)          sa_log(__VA_ARGS__)
 #define RTNL_LOG_ERR(error, ...)       sa_log_err(error, __func__, __VA_ARGS__)

_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to