pespin has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/34729?usp=email )
Change subject: cosmetic: epdg_diameter_swx.erl: Indentation fixes ......................................................................
cosmetic: epdg_diameter_swx.erl: Indentation fixes
Change-Id: Id6a927dccb1192e2224ab3f87bc581ac3dd75618 --- M src/epdg_diameter_swx.erl 1 file changed, 25 insertions(+), 17 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved
diff --git a/src/epdg_diameter_swx.erl b/src/epdg_diameter_swx.erl index 54521a0..6ae0c1f 100644 --- a/src/epdg_diameter_swx.erl +++ b/src/epdg_diameter_swx.erl @@ -68,27 +68,26 @@ %% supporting multiple Diameter applications may or may not want to %% configure a common callback module on all applications. -define(SERVICE, - [{'Origin-Host', application:get_env(?SERVER, origin_host, "aaa.example.org")}, - {'Origin-Realm', application:get_env(?SERVER, origin_realm, "realm.example.org")}, - {'Vendor-Id', application:get_env(?SERVER, vendor_id, 0)}, - {'Vendor-Specific-Application-Id', - [#'diameter_base_Vendor-Specific-Application-Id'{ - 'Vendor-Id' = ?VENDOR_ID_3GPP, - 'Auth-Application-Id' = [?DIAMETER_APP_ID_SWX]}]}, - {'Product-Name', "osmo-epdg"}, - % TODO: check which we should annouce here as Supported-Vendor-Id - {'Supported-Vendor-Id', [?VENDOR_ID_3GPP, ?VENDOR_ID_ETSI, ?VENDOR_ID_3GPP2]}, - { application, - [ - {alias, ?APP_ALIAS}, - {dictionary, ?DIAMETER_DICT_SWX}, - {module, ?CALLBACK_MOD}, - {answer_errors, callback}]}]). + [{'Origin-Host', application:get_env(?SERVER, origin_host, "aaa.example.org")}, + {'Origin-Realm', application:get_env(?SERVER, origin_realm, "realm.example.org")}, + {'Vendor-Id', application:get_env(?SERVER, vendor_id, 0)}, + {'Vendor-Specific-Application-Id', + [#'diameter_base_Vendor-Specific-Application-Id'{ + 'Vendor-Id' = ?VENDOR_ID_3GPP, + 'Auth-Application-Id' = [?DIAMETER_APP_ID_SWX]}]}, + {'Product-Name', "osmo-epdg"}, + % TODO: check which we should annouce here as Supported-Vendor-Id + {'Supported-Vendor-Id', [?VENDOR_ID_3GPP, ?VENDOR_ID_ETSI, ?VENDOR_ID_3GPP2]}, + { application, + [{alias, ?APP_ALIAS}, + {dictionary, ?DIAMETER_DICT_SWX}, + {module, ?CALLBACK_MOD}, + {answer_errors, callback}]}]).
-record(state, { handlers, peers = #{} - }). +}).
%% @doc starts gen_server implementation process -spec start() -> ok | {error, term()}.