diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-03-04 12:50:18 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-03-04 12:50:18 +0000 |
commit | 2f8830b4d03bb3f0ae67ba22896b1ac62c133428 (patch) | |
tree | 96338cd40e1cefa0587cb4b5cc2c4f5bc6eab668 /epan/uat_load.l | |
parent | f05fb51aba628102f83cd814d04f763643baab3e (diff) | |
download | wireshark-2f8830b4d03bb3f0ae67ba22896b1ac62c133428.tar.gz |
From LEGO via bug 3459:
Add a callback to UAT to be called after the table has being updated,
use it to renew the snmp_ue_cache.
svn path=/trunk/; revision=32112
Diffstat (limited to 'epan/uat_load.l')
-rw-r--r-- | epan/uat_load.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/uat_load.l b/epan/uat_load.l index 4920c47490..ed74f64728 100644 --- a/epan/uat_load.l +++ b/epan/uat_load.l @@ -317,6 +317,9 @@ gboolean uat_load(uat_t* uat_in, char** err) { *err = NULL; return TRUE; } + + if (uat->post_update_cb) + uat->post_update_cb(); } gboolean uat_load_str(uat_t* uat_in, char* entry, char** err) { @@ -349,6 +352,10 @@ gboolean uat_load_str(uat_t* uat_in, char* entry, char** err) { *err = NULL; return TRUE; } + + if (uat->post_update_cb) + uat->post_update_cb(); + } /* |