Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
otp_src_24.1.5-lib-kernel-inet_dns.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otp_src_24.1.5-lib-kernel-inet_dns.patch of Package erlang
diff -Ndurp otp_src_24.1.5/lib/kernel/src/inet_dns.erl otp_src_24.1.5-lib-kernel-inet_dns/lib/kernel/src/inet_dns.erl --- otp_src_24.1.5/lib/kernel/src/inet_dns.erl 2021-11-11 17:36:49.000000000 +0200 +++ otp_src_24.1.5-lib-kernel-inet_dns/lib/kernel/src/inet_dns.erl 2021-11-11 23:21:56.301035664 +0200 @@ -331,7 +331,7 @@ encode_res_section_rr( T = encode_type(Type), C = encode_class(Class, CacheFlush), {Bin,Comp1} = encode_name(Bin0, Comp0, byte_size(Bin0), DName), - Pos = byte_size(Bin)+2+2+byte_size(TTL)+2, + Pos = byte_size(Bin)+(2+2)+byte_size(TTL)+2, {DataBin,Comp} = encode_data(Comp1, Pos, Type, Class, Data), DataSize = byte_size(DataBin), encode_res_section( @@ -737,7 +737,7 @@ encode_data(Comp, Pos, ?S_MX, Data) -> encode_name(<<Pref:16>>, Comp, Pos+2, Exch); encode_data(Comp, Pos, ?S_SRV, Data) -> {Prio,Weight,Port,Target} = Data, - 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, Data) -> {Order,Preference,Flags,Services,Regexp,Replacement} = Data, 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