From 84991d347613362d1bce0a7bddceae944996cdb1 Mon Sep 17 00:00:00 2001 From: Neil McKee Date: Mon, 10 Jun 2024 15:21:00 -0700 Subject: [PATCH] mod_sonic: add logging --- src/Linux/mod_sonic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Linux/mod_sonic.c b/src/Linux/mod_sonic.c index a00b7db..c2da35d 100644 --- a/src/Linux/mod_sonic.c +++ b/src/Linux/mod_sonic.c @@ -1900,8 +1900,10 @@ extern "C" { if(portName) { EVDebug(mod, 1, "PORT_INDEX_TABLE changed entry for: %s", portName); HSPSonicPort *prt = getPort(mod, portName, NO); - if(prt) + if(prt) { + EVDebug(mod, 1, "port %s found - requesting ifInfex discovery", prt->portName); requestPortIfIndexDiscovery(mod, prt); + } } }