In case the user did not provide a custom name for the interface, display the
OS description in the 'Comment' column as how it is done in GTK UI.
Bug: 12156
Change-Id: If9da58980169df3eaf25f74e7b81676cbc4f6ebd
Reviewed-on: https://code.wireshark.org/review/14095
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
if (comment) {
item->setText(col_l_comment_, comment);
g_free(comment);
+ } else if (device.if_info.vendor_description) {
+ item->setText(col_l_comment_, device.if_info.vendor_description);
}
} else {
- continue;
+ continue;
}
}
g_free(pr_descr);