Browse code

sipdump: fixed typo

Sergey Safarov authored on 29/05/2021 17:41:53 • Henning Westerholt committed on 01/06/2021 06:31:15
Showing 1 changed files
... ...
@@ -662,7 +662,7 @@ int pv_parse_sipdump_name(pv_spec_t *sp, str *in)
662 662
 		case 8:
663 663
 			if(strncmp(in->s, "src_port", 8)==0)
664 664
 				sp->pvp.pvn.u.isname.name.n = 8;
665
-			if(strncmp(in->s, "dst_port", 8)==0)
665
+			else if(strncmp(in->s, "dst_port", 8)==0)
666 666
 				sp->pvp.pvn.u.isname.name.n = 9;
667 667
 			else goto error;
668 668
 		break;