• Thomas Haller's avatar
    shared: add nm_utils_syslog_coerce_from_nm() util · 1206fd06
    Thomas Haller authored
    When a VPN plugin logs to syslog(), it should not use the syslog
    levels that were passed in by NetworkManager directly. Instead,
    it must map LOG_NOTICE to LOG_INFO and LOG_INFO to LOG_DEBUG.
    Add a utility function does gets that right.
nm-vpn-plugin-macros.h 2.9 KB