• Thomas Haller's avatar
    core: refactor parsing resolve.conf · 8f1ef161
    Thomas Haller authored
    - merge the IPv4 and IPv6 implementations. They are for the most
      part identical. Also, they are independent of NMIP4Config/NMIP6Config.
    - parse the entire file at once. Don't parse it twice, once for the
      name servers and once for the options. This also avoids loading
      /etc/resolv.conf twice, as it would be done before.
nm-core-utils.c 129 KB