/* Append the version of AirPcap with which we we're running to a GString.  */
void get_runtime_airpcap_version(GString *str)
/* Append the version of AirPcap with which we we're running to a GString.  */
void get_runtime_airpcap_version(GString *str)
{
    guint vmaj, vmin, vrev, build;
    if (AirpcapLoaded == FALSE) {
        g_string_append(str, "without AirPcap");
        return;
    }
    g_PAirpcapGetVersion(&vmaj, &vmin, &vrev, &build);
    g_string_append_printf(str, "with AirPcap %d.%d.%d build %d", vmaj, vmin,
        vrev, build);
}