-
Notifications
You must be signed in to change notification settings - Fork 55
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
destaddr overrides remote_port #8
Comments
Seems this was introduced by 5833d47 which, funny enough, was trying to solve the opposite problem. This shows that composite attributes (like socket addresses) really can't be treated the same as the lower level arg attrs. It might make sense to add a FieldComposite descriptor to I think I do have a quick hack for now though. |
The hack broke everything else yay.... |
Finally fixed by e0688a9. |
Composite agent attributes should never override the variables they contain unless the underlying value(s) have not yet been set. Fixes SIPp#8
If
_clientdefaults
contains adestaddr
, and an agent's_values
contains aremote_port
,remote_port
will get ignored and thedestaddr
field will be incorrectly used.The text was updated successfully, but these errors were encountered: