Add LAN1 selfchannel suppport for IPMI

Defining the sudo API's for returning channel
index for self channel. This API returns LAN1
for net-ipmi.

Change-Id: Icefd5d949e94d4399adaffdad102ccb18c1b7cdc
Signed-off-by: ssekar <suryakanth.sekar@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/main.cpp b/main.cpp
index 92d0950..f49d4c7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -90,6 +90,11 @@
     selReservationValid = false;
 }
 
+EInterfaceIndex getInterfaceIndex(void)
+{
+    return interfaceLAN1;
+}
+
 int main()
 {
     /*