aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/base/diameter_codec.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_codec.erl b/lib/diameter/src/base/diameter_codec.erl
index 54f5fd2e25..8efc0801af 100644
--- a/lib/diameter/src/base/diameter_codec.erl
+++ b/lib/diameter/src/base/diameter_codec.erl
@@ -737,9 +737,8 @@ pack_avp(Code, Flags, VendorId, Data) ->
%%
%% Prepend the vendor id as required.
-pack_avp(Code, Flags, Sz, Vid, Data, Pad)
+pack_avp(Code, Flags, Sz, _Vid, Data, Pad)
when 0 == Flags band 2#10000000 ->
- undefined = Vid, %% sanity check
pack_avp(Code, Flags, Sz, 0, 0, Data, Pad);
pack_avp(Code, Flags, Sz, Vid, Data, Pad) ->