Module: kamailio
Branch: master
Commit: 8a2894cd6180f904dd37acb4985db4e4935aa434
URL:
https://github.com/kamailio/kamailio/commit/8a2894cd6180f904dd37acb4985db4e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-03-04T15:31:47+01:00
core: main - init local variables used for cli param parsing
---
Modified: src/main.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8a2894cd6180f904dd37acb4985db4e…
Patch:
https://github.com/kamailio/kamailio/commit/8a2894cd6180f904dd37acb4985db4e…
---
diff --git a/src/main.c b/src/main.c
index 1856bf7bc03..c7e98e1b433 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2083,9 +2083,9 @@ int main(int argc, char **argv)
int c, r;
char *tmp;
int tmp_len;
- int port;
- int proto;
- int aproto;
+ int port = 5060;
+ int proto = PROTO_NONE;
+ int aproto = PROTO_NONE;
char *ahost = NULL;
int aport = 0;
char *options;