From: Douglas Bagnall Date: Fri, 23 Jun 2017 02:16:53 +0000 (+1200) Subject: traffic_summary: avoid uninitialised variable warning X-Git-Tag: tdb-1.3.15~75 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e12dbc7307802667d401be28f7bdc0086da3b147;p=thirdparty%2Fsamba.git traffic_summary: avoid uninitialised variable warning Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- 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'} || '';