Make the UDP ports charon listens for packets on (and uses as source ports) configurable.
This commit is contained in:
1 parent
73940eb712
commit
e7ea057fd2
18 files changed
+89
-48
No files matched your search
@@ -97,7 +97,7 @@ METHOD(job_t, execute, job_requeue_t,
|
||||
ike_sa->set_kmaddress(ike_sa, this->local, this->remote);
|
||||
|
||||
host = this->local->clone(this->local);
|
||||
host->set_port(host, IKEV2_UDP_PORT);
|
||||
host->set_port(host, CHARON_UDP_PORT);
|
||||
ike_sa->set_my_host(ike_sa, host);
|
||||
|
||||
host = this->remote->clone(this->remote);
|
||||
|
||||
Reference in new issue
Block a user