aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-kerberos.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2009-10-07 07:03:33 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2009-10-07 07:03:33 +0000
commitd86f67b925ed4315c754bac3f70d04d21dd493f0 (patch)
tree6b5538e9e07e7027b19d5df7636cd6b7d3952cfc /epan/dissectors/packet-kerberos.h
parentc177dd5a0ffc6541f2eede06abd33c0e490a160e (diff)
add a new function read_keytab_file_from_preferences(void)
that can be called by dissectoirs using kerberos keytab files. This function will load a new keytab file on demand, if it is changed in the preferences. The previous code had you save the preferences and then restart wireshark which is suboptimal from a user friendly perspective svn path=/trunk/; revision=30384
Diffstat (limited to 'epan/dissectors/packet-kerberos.h')
-rw-r--r--epan/dissectors/packet-kerberos.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-kerberos.h b/epan/dissectors/packet-kerberos.h
index 7c61153679..f8635bf25e 100644
--- a/epan/dissectors/packet-kerberos.h
+++ b/epan/dissectors/packet-kerberos.h
@@ -85,6 +85,8 @@ decrypt_krb5_data(proto_tree *tree, packet_info *pinfo,
extern gboolean krb_decrypt;
+void read_keytab_file_from_preferences(void);
+
#endif /* HAVE_KERBEROS */
#endif /* __PACKET_KERBEROS_H */