NS_Emulation: Don't respond to NS-STATUS with NS-STATUS

Change-Id: Id9544ed1a7686fe113c4f6671e482bffc84bd2cc
This commit is contained in:
Harald Welte 2021-02-04 14:30:47 +01:00
parent e58e5b74da
commit 4998a09917
1 changed files with 4 additions and 0 deletions

View File

@ -662,6 +662,10 @@ module NS_Emulation {
[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);