diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-21 05:52:50 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-21 05:52:50 +0000 |
commit | ce86c08b58bf6b94788fd8aa95e79ca097e3dad4 (patch) | |
tree | 6e8147e5902627f0c1885bc04c5d4c46bcbc11a8 | |
parent | 63e31768817d2cfdbaeba77f73c85f5eb98dd1ff (diff) |
From Jose Pedro Oliveira shb_os value: get_os_version_info() instead of get_runtime_version_info()
svn path=/trunk/; revision=41095
-rw-r--r-- | dumpcap.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3008,22 +3008,22 @@ do_file_switch_or_stop(capture_options *capture_opts, global_ld.bytes_written = 0; if (capture_opts->use_pcapng) { char appname[100]; - GString *runtime_info_str; + GString *os_info_str; - runtime_info_str = g_string_new(""); - get_runtime_version_info(runtime_info_str, NULL); + os_info_str = g_string_new(""); + get_os_version_info(os_info_str); g_snprintf(appname, sizeof(appname), "Dumpcap " VERSION "%s", wireshark_svnversion); successful = libpcap_write_session_header_block(global_ld.pdh, NULL, /* Comment */ NULL, /* HW */ - runtime_info_str->str, /* OS */ + os_info_str->str, /* OS */ appname, -1, /* section_length */ &(global_ld.bytes_written), &global_ld.err); - g_string_free(runtime_info_str, TRUE); + g_string_free(os_info_str, TRUE); for (i = 0; successful && (i < capture_opts->ifaces->len); i++) { interface_opts = g_array_index(capture_opts->ifaces, interface_options, i); |