-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix nat64 port change observing #90
Conversation
)); | ||
sip_uri->host.slen = acc.in4_addr.slen; | ||
sip_uri->host.ptr = acc.in4_addr.ptr; | ||
if (acc.in4_port > 0) { | ||
if (acc.in4_port != INVALID_PORT) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: The check isn't equivalent to previous one, now zero is valid value. Is it ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is OK, because acc.in4_port
initializes with INVALID_PORT
, and then updates only with values more than 0
)); | ||
/* Step 2. Update HPBX server addr value */ | ||
pj_strdup_with_null(mod_pool, &hpbx.in4_addr, addr); | ||
/* Step 3. Mark update */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: CO comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave it as is, because the author of this code is not me
65200c0
into
release/im-2.14.1
No description provided.