1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

This patch is no longer necessary.

This commit is contained in:
Maxim Sobolev 2005-07-07 18:42:50 +00:00
parent da0cac05ab
commit 9c374bf8d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138662
2 changed files with 1 additions and 27 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= ser
PORTVERSION= 0.8.14
PORTREVISION= 1
PORTVERSION= 0.9.3
CATEGORIES= net
MASTER_SITES= ftp://ftp.berlios.de/pub/ser/${PORTVERSION}/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}_src

View File

@ -1,25 +0,0 @@
$FreeBSD$
--- modules/tm/t_reply.c.orig
+++ modules/tm/t_reply.c
@@ -686,6 +686,19 @@
/* if final response received at this branch, allow only INVITE 2xx */
if (Trans->uac[branch].last_received>=200
&& !(inv_through && Trans->uac[branch].last_received<300)) {
+ /* don't report on retranmissions */
+ if (Trans->uac[branch].last_received==new_code) {
+ DBG("DEBUG: final reply retrasnmission\n");
+ goto discard;
+ }
+ /* if you FR-timed-out, faked a local 408 and 487 came, don't
+ * report on it either */
+ if (Trans->uac[branch].last_received==408 && new_code==487) {
+ DBG("DEBUG: 487 came for a timed-out branch\n");
+ goto discard;
+ }
+ /* this looks however how a very strange status rewrite attempt;
+ * report on it */
LOG(L_ERR, "ERROR: t_should_relay: status rewrite by UAS: "
"stored: %d, received: %d\n",
Trans->uac[branch].last_received, new_code );