summaryrefslogtreecommitdiff
path: root/ipacm/src/IPACM_Lan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ipacm/src/IPACM_Lan.cpp')
-rw-r--r--ipacm/src/IPACM_Lan.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ipacm/src/IPACM_Lan.cpp b/ipacm/src/IPACM_Lan.cpp
index 21bf7c0..1cc8ece 100644
--- a/ipacm/src/IPACM_Lan.cpp
+++ b/ipacm/src/IPACM_Lan.cpp
@@ -4381,6 +4381,7 @@ void IPACM_Lan::eth_bridge_post_event(ipa_cm_event_id evt, ipa_ip_type iptype, u
{
ipacm_cmd_q_data eth_bridge_evt;
ipacm_event_eth_bridge *evt_data_eth_bridge;
+ const char *eventName = IPACM_Iface::ipacmcfg->getEventName(evt);
#ifdef FEATURE_L2TP
ipacm_event_data_all *evt_data_all;
#endif
@@ -4449,8 +4450,11 @@ void IPACM_Lan::eth_bridge_post_event(ipa_cm_event_id evt, ipa_ip_type iptype, u
}
eth_bridge_evt.evt_data = (void*)evt_data_eth_bridge;
}
- IPACMDBG_H("Posting event %s\n",
- IPACM_Iface::ipacmcfg->getEventName(evt));
+ if (eventName != NULL)
+ {
+ IPACMDBG_H("Posting event %s\n",
+ eventName);
+ }
IPACM_EvtDispatcher::PostEvt(&eth_bridge_evt);
}