Skip to content

Commit 0d494e5

Browse files
committed
registrar: Fix bad condition
1 parent c9478d4 commit 0d494e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/registrar/lookup.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,7 @@ int lookup(struct sip_msg* _m, char* _t, char* _f, char* _s)
427427
/* Append branches if enabled */
428428
/* If we got to this point and the URI had a ;gr parameter and it was matched
429429
* to a contact. No point in branching */
430-
if (!((*ptr)->flags & FL_EXTRA_HOP) &&
431-
((flags & REG_LOOKUP_NOBRANCH_FLAG) || !ZSTR(sip_instance)))
430+
if (flags & REG_LOOKUP_NOBRANCH_FLAG || !ZSTR(sip_instance))
432431
goto done;
433432

434433
LM_DBG("looking for branches\n");

0 commit comments

Comments
 (0)