Skip to content

Commit

Permalink
Merge pull request #48 from travelping/feature/handle-broken-protocol…
Browse files Browse the repository at this point in the history
…-opts

handle PPP protocol opts with broken sub-options encoding
  • Loading branch information
RoadRunnr committed Aug 21, 2024
2 parents b6a6cf9 + 3e39d7f commit 1d6d709
Show file tree
Hide file tree
Showing 9 changed files with 3,363 additions and 3,350 deletions.
1,808 changes: 904 additions & 904 deletions include/gtp_packet.hrl

Large diffs are not rendered by default.

260 changes: 130 additions & 130 deletions priv/ie_gen_v1.erl

Large diffs are not rendered by default.

370 changes: 185 additions & 185 deletions priv/ie_gen_v2.erl

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
%-*-Erlang-*-
%%-*-Erlang-*-
{erl_opts, [debug_info]}.

{edoc_opts, [{preprocess, true}]}.

{deps, [
{cut, "1.0.3"},
{ppplib, "1.0.0"},
{parse_trans, {git, "https://github.com/uwiger/parse_trans.git", {branch, "master"}}}
]}.
{cut, "1.0.3"},
{ppplib, "1.0.0"},
{parse_trans, {git, "https://github.com/uwiger/parse_trans.git", {branch, "master"}}}
]}.

{minimum_otp_vsn, "24.3"}.
{plugins, [rebar3_hex]}.
{plugins, [rebar3_hex, rebar3_fmt]}.

{profiles, [
{test,
[{deps,
[{proper, {git, "https://github.com/proper-testing/proper.git",
{branch, "master"}}}]},
{plugins, [{coveralls, {git, "https://github.com/RoadRunnr/coveralls-erl.git", {branch, "feature/git-info"}}}]}
]},
{pcap,
[{deps,
[{flower, {git, "git://github.com/travelping/flower.git",
{branch, "master"}}},
{gen_socket, {git, "git://github.com/travelping/gen_socket.git",
{branch, "master"}}},
{pcapng, {git, "git://github.com/travelping/pcapng.git",
{branch, "master"}}},
{proper, {git, "https://github.com/proper-testing/proper.git",
{branch, "master"}}}
]}
]}
]}.
{test,
[{deps,
[{proper, {git, "https://github.com/proper-testing/proper.git",
{branch, "master"}}}]},
{plugins, [{coveralls, {git, "https://github.com/RoadRunnr/coveralls-erl.git", {branch, "feature/git-info"}}}]}
]},
{pcap,
[{deps,
[{flower, {git, "git://github.com/travelping/flower.git",
{branch, "master"}}},
{gen_socket, {git, "git://github.com/travelping/gen_socket.git",
{branch, "master"}}},
{pcapng, {git, "git://github.com/travelping/pcapng.git",
{branch, "master"}}},
{proper, {git, "https://github.com/proper-testing/proper.git",
{branch, "master"}}}
]}
]}
]}.

%% xref checks to run
{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
deprecated_funcqtions]}.
locals_not_used, deprecated_function_calls,
deprecated_functions]}.

%% == Cover ==
%% Whether to enable coverage reporting. Default is `false'
Expand Down
2 changes: 1 addition & 1 deletion rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ case {os:getenv("GITHUB_ACTIONS"), os:getenv("GITHUB_TOKEN")} of
{coveralls_commit_sha, os:getenv("GITHUB_SHA")},
{coveralls_flag_name, os:getenv("COVERALLS_FLAG_NAME")} | CONFIG],
case os:getenv("GITHUB_EVENT_NAME") =:= "pull_request"
andalso string:tokens(os:getenv("GITHUB_REF"), "/") of
andalso string:tokens(os:getenv("GITHUB_REF"), "/") of
[_, "pull", PRNO, _] ->
[{coveralls_service_pull_request, PRNO} | CONFIG1];
_ ->
Expand Down
Loading

0 comments on commit 1d6d709

Please sign in to comment.