VOL-2854: Add command line option to specify interface name in openolt on which gRPC server will run
- OLT management interface or inband interface can be given as command line input and gRPC
server will listen on given interface's IP address
- If no interface name given gRPC server will listen on "0.0.0.0:9191"
Change-Id: I506fabf7ae81bf4d4ed8f6199107801daff62941
diff --git a/agent/common/main.cc b/agent/common/main.cc
index 49d1175..4ebe2b8 100644
--- a/agent/common/main.cc
+++ b/agent/common/main.cc
@@ -137,7 +137,7 @@
}
else
pushOltOperInd(0, "nni", "up");
- RunServer();
+ RunServer(argc, argv);
return 0;
}