summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2017-06-23 14:16:53 +1200
committerDouglas Bagnall <dbagnall@samba.org>2017-08-17 04:06:06 +0200
commite12dbc7307802667d401be28f7bdc0086da3b147 (patch)
tree274b0924a04e3b5e792620cd1c2e55d2872e7a1c /script
parent5473a277e3bdcc7ae6a03c24d4e7c84a8ad63b4b (diff)
downloadsamba-e12dbc7307802667d401be28f7bdc0086da3b147.tar.gz
traffic_summary: avoid uninitialised variable warning
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/traffic_summary.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/traffic_summary.pl b/script/traffic_summary.pl
index 5c69ca18617..05c1cf03702 100755
--- a/script/traffic_summary.pl
+++ b/script/traffic_summary.pl
@@ -518,7 +518,7 @@ sub format_ldap
#------------------------------------------------------------------------------
sub format_kerberos
{
- my $msg_type = $proto_data{'kerberos.msg_type.show'};
+ my $msg_type = $proto_data{'kerberos.msg_type.show'} || '';
my $cname_type = $proto_data{'kerberos.cname.type'} || '';
my $description = $proto_data{'kerberos.msg_type.showname'} || '';