cli: fix setting 'slave-type' for `nmcli connection add type *-slave`
authorThomas Haller <thaller@redhat.com>
Wed, 30 Mar 2016 16:33:14 +0000 (18:33 +0200)
committerThomas Haller <thaller@redhat.com>
Wed, 30 Mar 2016 16:36:07 +0000 (18:36 +0200)
commit03fd18cde053f2765e057b354e8ca0f751e6e103
treea8f6e79ef5ffef79b72c09759dc08cb936fb8337
parent6fa521b384080411d4ff7d6e02dbd5991e9a245d
cli: fix setting 'slave-type' for `nmcli connection add type *-slave`

  $ nmcli connection add type bond-slave ifname eth1 con-name bond0.0 master nm-bond
  Error: Failed to add 'bond0.0' connection: connection.slave-type: Cannot set 'master' without 'slave-type'

Fixes: 8ad218e71c3a82d491af6daa516464dd020608f2
clients/cli/connections.c