> Here is a small patch which allows some brief details about a DNS > query/response to percolate upward to the packet summary pane. I > always find it a PIA to have to open the tree view on every single DNS > packet to find out just what was being asked and what was answered. Yup - COL_INFO should contain more than the minimum amount of information about the packet; it should contain a useful one-line summary of the packet's contents. > Please let me know if there is a better way to do this and I will > rework it. There is, but it requires a routine that's in the CVS tree, but that may not be in the 0.7.7 release - "col_append_fstr()", which lets you append a formatted string to the COL_INFO column. (0.7.7 had, I think, "col_append_str()", so you could "snprintf()" to a string buffer and "col_append_str()" that, but "col_append_fstr()" is a bit cleaner, and does less string copying.) I've checked in a version of your change that uses "col_append_fstr()".
Powered by MHonArc 2.6.10