NS_Emulation: Don't respond to NS-STATUS with NS-STATUS
Change-Id: Id9544ed1a7686fe113c4f6671e482bffc84bd2cc
diff --git a/library/NS_Emulation.ttcnpp b/library/NS_Emulation.ttcnpp
index ec3386f..34bbcd9 100644
--- a/library/NS_Emulation.ttcnpp
+++ b/library/NS_Emulation.ttcnpp
@@ -662,6 +662,10 @@
[g_config.handle_sns and ischosen(g_nsvc_config.provider.ip)] as_nsvc_sns();
+ /* log + ignore NS-STATUS; must not create another NS-STATUS in response */
+ [] NSCP.receive(tr_NS_STATUS(?)) -> value rf {
+ log("Rx NS-STATUS ", rf," in state ", vc_state);
+ }
/* default case of handling unknown PDUs */
[] NSCP.receive(PDU_NS: ?) -> value rf {
log("Rx Unexpected NS PDU ", rf," in state ", vc_state);