Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
otp_src_24.0.5-git-5cfcec8-lib-kernel-inet_dns....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otp_src_24.0.5-git-5cfcec8-lib-kernel-inet_dns.patch of Package erlang
diff -Ndurp otp_src_24.0.5-git-5cfcec8/lib/kernel/src/inet_dns.erl otp_src_24.0.5-git-5cfcec8-lib-kernel-inet_dns/lib/kernel/src/inet_dns.erl --- otp_src_24.0.5-git-5cfcec8/lib/kernel/src/inet_dns.erl 2019-11-15 10:44:34.000000000 +0200 +++ otp_src_24.0.5-git-5cfcec8-lib-kernel-inet_dns/lib/kernel/src/inet_dns.erl 2019-11-30 00:32:14.548673302 +0200 @@ -316,7 +316,7 @@ encode_res_section_rr(Bin0, Comp0, Rs, D T = encode_type(Type), C = encode_class(Class), {Bin,Comp1} = encode_name(Bin0, Comp0, byte_size(Bin0), DName), - {DataBin,Comp} = encode_data(Comp1, byte_size(Bin)+2+2+byte_size(TTL)+2, + {DataBin,Comp} = encode_data(Comp1, byte_size(Bin)+(2+2)+byte_size(TTL)+2, Type, Class, Data), DataSize = byte_size(DataBin), encode_res_section(<<Bin/binary,T:16,C:16, @@ -676,7 +676,7 @@ encode_data(Comp, Pos, ?S_MINFO, _, {RM, encode_data(Comp, Pos, ?S_MX, _, {Pref,Exch}) -> encode_name(<<Pref:16>>, Comp, Pos+2, Exch); encode_data(Comp, Pos, ?S_SRV, _, {Prio,Weight,Port,Target}) -> - encode_name(<<Prio:16,Weight:16,Port:16>>, Comp, Pos+2+2+2, Target); + encode_name(<<Prio:16,Weight:16,Port:16>>, Comp, Pos+(2+2+2), Target); encode_data(Comp, Pos, ?S_NAPTR, _, {Order,Preference,Flags,Services,Regexp,Replacement}) -> B0 = <<Order:16,Preference:16>>,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor