fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/38378?usp=email )


Change subject: diameter: fix unused macro param in ?SERVICE
......................................................................

diameter: fix unused macro param in ?SERVICE

Change-Id: Ia0e87b19541b3e4064e5095cc5fefa016700d226
---
M src/osmo_dia2gsup.erl
1 file changed, 2 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup 
refs/changes/78/38378/1

diff --git a/src/osmo_dia2gsup.erl b/src/osmo_dia2gsup.erl
index 7aabc1c..a2a15b4 100644
--- a/src/osmo_dia2gsup.erl
+++ b/src/osmo_dia2gsup.erl
@@ -63,7 +63,7 @@
                        {'Origin-Realm', application:get_env(osmo_dia2gsup, 
origin_realm, "localdomain")},
                        {'Vendor-Id', application:get_env(osmo_dia2gsup, 
vendor_id, 0)},
                        {'Origin-State-Id', diameter:origin_state_id()},
-                       {'Product-Name', "osmo_dia2gsup"},
+                       {'Product-Name', Name},
                        {'Auth-Application-Id', []},
                        {'Vendor-Specific-Application-Id', [?APPID_S6]},
                        {application,
@@ -99,8 +99,7 @@
 %% @callback gen_server
 init(State) ->
        % DIAMETER side
-       SvcName = ?MODULE,
-       diameter:start_service(SvcName, ?SERVICE(SvcName)),
+       diameter:start_service(?SVC_NAME, ?SERVICE(?MODULE)),

        Ip = application:get_env(osmo_dia2gsup, diameter_ip, "127.0.0.8"),
        Port = application:get_env(osmo_dia2gsup, diameter_port, 3868),

--
To view, visit 
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/38378?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: Ia0e87b19541b3e4064e5095cc5fefa016700d226
Gerrit-Change-Number: 38378
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>

Reply via email to