summaryrefslogtreecommitdiff
path: root/tda.erl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-10-24 01:00:48 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-10-24 01:00:48 +0200
commit6c8fc1b7c2b5d01542893bfb37c892d365f30722 (patch)
tree3b860e918f15c01cce21519b58527b6187b8a6e8 /tda.erl
parent5fbf7d3ad57159945c58cc62b2c8601257a8cf22 (diff)
Disable default values or they get omited
Diffstat (limited to 'tda.erl')
-rw-r--r--tda.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tda.erl b/tda.erl
index c87ef58..5e4e46d 100644
--- a/tda.erl
+++ b/tda.erl
@@ -26,7 +26,7 @@ associate_request() ->
Ver = #'NewACSEUserInformationForCSTA'{cSTAVersion = [versionFive]},
{ok, Enc} = acse:encode('ACSEUserInformationForCSTA', {newDefinition, Ver}),
Pdu = #'AARQ-apdu'{
- 'protocol-version' = <<0>>, % hack
+ 'protocol-version' = [version1],
'application-context-name' = {1, 3, 12, 0, 218},
'user-information' = [#'EXTERNAL'{
'direct-reference' = {1, 3, 12, 0, 285, 200},