pespin has uploaded this change for review.

View Change

cosmetic: epdg_diameter_swx.erl: Indentation fixes

Change-Id: Id6a927dccb1192e2224ab3f87bc581ac3dd75618
---
M src/epdg_diameter_swx.erl
1 file changed, 25 insertions(+), 17 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-epdg refs/changes/29/34729/1
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()}.

To view, visit change 34729. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: erlang/osmo-epdg
Gerrit-Branch: master
Gerrit-Change-Id: Id6a927dccb1192e2224ab3f87bc581ac3dd75618
Gerrit-Change-Number: 34729
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange