aboutsummaryrefslogtreecommitdiffstats
path: root/packet-icp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-23 09:31:09 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-23 09:31:09 +0000
commitb96ac8c220f81f81c4ec16092174609c207083fb (patch)
treea88676e173f0eeab81bd701636ccfc4893479620 /packet-icp.c
parentc84cedd8916910707661c90f5c1a079200c6855e (diff)
I thought I'd seen a problem with the combo box in the "Capture:Start"
dialog box if we hadn't found any interfaces on which we could capture, but perhaps the problem was that "gtk_combo_set_popdown_strings()" doesn't like it if you set the list of items to a NULL list - if you don't set it at all, you get a combo box with only one blank entry in the list, but you don't seem to get complaints from GTK+ 1.2.6, at least. Pop up the "Capture:Start" dialog box even if we don't find any interfaces on which we could capture; at least this way, they won't just get confronted with a There are no network interfaces that can be opened. Please check to make sure you have sufficient permission to capture packets. message box and no way to give us any more information other than "it said 'There are no network interfaces that can be opened...'" - they can at least try the interfaces that *should* work, and report the error messages they get, giving us a better chance at figuring out what the problem is. Trim white space from the entry in that combo box, and, if there isn't anything other than possibly white space, pop up a You didn't specify an interface on which to capture packets. message box and leave the dialog box up so that the user can supply an interface name. svn path=/trunk/; revision=1373
Diffstat (limited to 'packet-icp.c')
0 files changed, 0 insertions, 0 deletions