summaryrefslogtreecommitdiff
path: root/ui/gtk/gtk_iface_monitor.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-26 09:33:56 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-26 09:33:56 +0000
commit1f88ca3ca6d97e975b19b6730adb2a5029f064cd (patch)
tree89ffefaa446fd436e8502134b3c89058e6ebfe87 /ui/gtk/gtk_iface_monitor.c
parentb01acd4b2552ffd471165ace1b1cf5c80cd5c0ae (diff)
downloadwireshark-1f88ca3ca6d97e975b19b6730adb2a5029f064cd.tar.gz
Note why refresh_local_interface_lists() is being called in various
cases. svn path=/trunk/; revision=53597
Diffstat (limited to 'ui/gtk/gtk_iface_monitor.c')
-rw-r--r--ui/gtk/gtk_iface_monitor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/gtk/gtk_iface_monitor.c b/ui/gtk/gtk_iface_monitor.c
index 4c134aac70..78187f11e6 100644
--- a/ui/gtk/gtk_iface_monitor.c
+++ b/ui/gtk/gtk_iface_monitor.c
@@ -73,6 +73,11 @@ gtk_iface_mon_event_cb(const char *iface, int up)
if (present == up)
return;
+ /*
+ * We've been told that there's a new interface or that an old
+ * interface is gone; reload the list and refresh all places
+ * that are displaying the list.
+ */
refresh_local_interface_lists();
}