Browse code

sipdump: fixed typo

(cherry picked from commit 7f226f5b08c93ed0a43113d7947730329ff7db38)

Sergey Safarov authored on 29/05/2021 17:41:53 • Henning Westerholt committed on 01/06/2021 06:32:25
Showing 1 changed files
... ...
@@ -575,7 +575,7 @@ int pv_parse_sipdump_name(pv_spec_t *sp, str *in)
575 575
 		case 8:
576 576
 			if(strncmp(in->s, "src_port", 8)==0)
577 577
 				sp->pvp.pvn.u.isname.name.n = 8;
578
-			if(strncmp(in->s, "dst_port", 8)==0)
578
+			else if(strncmp(in->s, "dst_port", 8)==0)
579 579
 				sp->pvp.pvn.u.isname.name.n = 9;
580 580
 			else goto error;
581 581
 		break;