1. 03 Sep, 2019 3 commits
  2. 02 Sep, 2019 3 commits
    • Lubomir Rintel's avatar
      libnm/remote-connection: add a pair of curly brackets · 74a76269
      Lubomir Rintel authored
      ...to aid readability.
      74a76269
    • Lubomir Rintel's avatar
      clients: avoid clearing a structure pointer when we're still using it · b76da15d
      Lubomir Rintel authored
      We're dereferencing the info pointer in the argument list in the call to
      nm_client_activate_connection_async(). Stealing it at that point causes
      a crash.
      
      This reverts a chunk of commit b298f2e6 ('cli: use cleanup macro for
      freeing AddAndActivateInfo').
      b76da15d
    • Thomas Haller's avatar
      keyfile: reorder printing empty [wireguard] section with peers and fix test failure · 576a1289
      Thomas Haller authored
      We want to print the [wireguard] section before printing sections of the
      peers. It just looks nicer.
      
      This also fixes a test failure:
      
        /libnm/settings/roundtrip-conversion/wireguard/2: **
        test:ERROR:./shared/nm-utils/nm-test-utils.h:2254:nmtst_keyfile_assert_data: assertion failed (d1 == data): ("[connection]\nid=roundtrip-conversion-2\nuuid=63376701-b61e-4318-bf7e-664a1c1eeaab\ntype=wireguard\ninterface-name=ifname2\npermissions=\n\n[wireguard-peer.uoGoXWWRxJvu4jDva8pPGA4nxau8B33S+YR+MfPFjxc=]\nendpoint=192.168.255.180:30429\npreshared-key-flags=2\n\n[wireguard-peer.BED73rH9j3OCHYAeXNrW5y5oia/Ngj+M04e9sG7DQOo=]\nendpoint=192.168.188.253:30407\npreshared-key-flags=1\npersistent-keepalive=5070\nallowed-ips=192.168.215.179/32;192.168.120.249/32;a:b:c::e4:13/128;192.168.157.84/32;a:b:c::1b:df/128;a:b:c::b0:84/128;192.168.168.17/32;\n\n[wireguard]\n\n[ipv4]\ndns-search=\nmethod=disabled\n\n[ipv6]\naddr-gen-mode=stable-privacy\ndns-search=\nmethod=ignore\n\n[proxy]\n" == "[connection]\nid=roundtrip-conversion-2\nuuid=63376701-b61e-4318-bf7e-664a1c1eeaab\ntype=wireguard\ninterface-name=ifname2\npermissions=\n\n[wireguard]\n\n[wireguard-peer.uoGoXWWRxJvu4jDva8pPGA4nxau8B33S+YR+MfPFjxc=]\nendpoint=192.168.255.180:30429\npreshared-key-flags=2\n\n[wireguard-peer.BED73rH9j3OCHYAeXNrW5y5oia/Ngj+M04e9sG7DQOo=]\nendpoint=192.168.188.253:30407\npreshared-key-flags=1\npersistent-keepalive=5070\nallowed-ips=192.168.215.179/32;192.168.120.249/32;a:b:c::e4:13/128;192.168.157.84/32;a:b:c::1b:df/128;a:b:c::b0:84/128;192.168.168.17/32;\n\n[ipv4]\ndns-search=\nmethod=disabled\n\n[ipv6]\naddr-gen-mode=stable-privacy\ndns-search=\nmethod=ignore\n\n[proxy]\n")
      
      Fixes: ddd148e0 ('keyfile: let keyfile writer serialize setting with all default values')
      576a1289
  3. 30 Aug, 2019 3 commits
  4. 29 Aug, 2019 1 commit
  5. 28 Aug, 2019 29 commits
  6. 27 Aug, 2019 1 commit