"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/interfaces/gtk/ec_gtk_targets.c" between
ettercap-0.8.3.tar.gz and ettercap-0.8.3.1.tar.gz

About: ettercap is a multipurpose sniffer/interceptor/logger for switched LAN.

ec_gtk_targets.c  (ettercap-0.8.3):ec_gtk_targets.c  (ettercap-0.8.3.1)
skipping to change at line 91 skipping to change at line 91
GtkWidget *dialog, *content, *radio, *hbox, *frame; GtkWidget *dialog, *content, *radio, *hbox, *frame;
GSList *list = NULL; GSList *list = NULL;
gint active = 1; gint active = 1;
enum {proto_udp, proto_tcp, proto_all}; enum {proto_udp, proto_tcp, proto_all};
DEBUG_MSG("gtk_select_protocol"); DEBUG_MSG("gtk_select_protocol");
/* this will contain 'all', 'tcp' or 'udp' */ /* this will contain 'all', 'tcp' or 'udp' */
if (!EC_GBL_OPTIONS->proto) { if (!EC_GBL_OPTIONS->proto) {
SAFE_CALLOC(EC_GBL_OPTIONS->proto, 4, sizeof(char)); SAFE_CALLOC(EC_GBL_OPTIONS->proto, 4, sizeof(char));
strncpy(EC_GBL_OPTIONS->proto, "all", 3); strncpy(EC_GBL_OPTIONS->proto, "all", 4);
} }
/* create dialog for selecting the protocol */ /* create dialog for selecting the protocol */
dialog = gtk_dialog_new_with_buttons("Set protocol", GTK_WINDOW(window), dialog = gtk_dialog_new_with_buttons("Set protocol", GTK_WINDOW(window),
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WI TH_PARENT, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WI TH_PARENT,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK, GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL); NULL);
content = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); content = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)