瀏覽代碼

surpress error message (480 was not expected as a localy generated response)

Nils Ohlmeier 19 年之前
父節點
當前提交
dc472e457e
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      modules/tm/t_reply.c

+ 3 - 2
modules/tm/t_reply.c

@@ -761,9 +761,10 @@ static enum rps t_should_relay_response( struct cell *Trans , int new_code,
 			DBG("DEBUG: final reply retransmission\n");
 			goto discard;
 		}
-		/* if you FR-timed-out, faked a local 408 and 487 came, don't
+		/* if you FR-timed-out, faked a local 408 or 480 and 487 came, don't
 		 * report on it either */
-		if (Trans->uac[branch].last_received==408 && new_code==487) {
+		if ((Trans->uac[branch].last_received==408 ||
+				Trans->uac[branch].last_received==480) && new_code==487) {
 			DBG("DEBUG: 487 came for a timed-out branch\n");
 			goto discard;
 		}