Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
lpgauth committed Oct 7, 2019
1 parent 7ea2b08 commit fa00297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ language: erlang
notifications:
email: false
otp_release:
- 22.1
- 22.0
- 21.3.8
- 20.3
- 19.3
Expand Down
3 changes: 2 additions & 1 deletion src/statsderl_udp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
-ifdef(UDP_HEADER_1).

header(IP, Port) ->
[?INT16(Port) , ip4_to_bytes(IP)].
[?INT16(Port), ip4_to_bytes(IP)].

-else.
-ifdef(UDP_HEADER_2).

header(IP, Port) ->
[?INET_AF_INET, ?INT16(Port) , ip4_to_bytes(IP)].

Expand Down

0 comments on commit fa00297

Please sign in to comment.