ifconfig: delete address first if address differs

When replacing a lease address and e.g. the prefix length
differs (change from IP/32 to IP/24), delete the old lease
address first, as replace does not cover this (bnc#890406).
Remove unused function ni_local_socket_listen()

This function goes back to the early days of wicked when it was
using a REST interface served via an AF_LOCAL socket. This stuff
has been for a few years, so it's time to say goodbye to some of
its supporting functions.

Signed-off-by: Olaf Kirch <okir@suse.de>
Remove unused function ni_local_socket_connect

This function goes back to the early days of wicked when it was
using a REST interface served via an AF_LOCAL socket. This stuff
has been for a few years, so it's time to say goodbye to some of
its supporting functions.

Signed-off-by: Olaf Kirch <okir@suse.de>
Remove unused function ni_local_socket_pair

This function goes back to the early days of wicked when it was
using a REST interface served via an AF_LOCAL socket. This stuff
has been for a few years, so it's time to say goodbye to some of
its supporting functions.

Signed-off-by: Olaf Kirch <okir@suse.de>
Add comment/caveat to __ni_process_output_recv

The socket recv buffer can grow without bounds here. No immediate idea
what to do about this, but flag this as a potential source of trouble.

Signed-off-by: Olaf Kirch <okir@suse.de>
ni_config_t: remove recv_max member

This member variable was used by ni_local_socket_listen(), which is gone
now.

Signed-off-by: Olaf Kirch <okir@suse.de>
Small clean-up of config file syntax: group dbus related options together

Old-school:

  <dbus name="org.opensuse.Network" />
  <schema name="/some/path/wicked.xml" />

New school:

  <dbus>
    <service name="org.opensuse.Network" />
    <schema name="/some/path/wicked.xml" />
  </dbus>

For the time being, both old-school and new-school options
will be recognized. No warnings are issued.

Signed-off-by: Olaf Kirch <okir@suse.de>
config: support a local.xml to override settings w/o getting in trouble with maintenance updates

If a user modifies one of the wicked xml config files, we're running
into trouble on the next maintenance update. Either the poor guy/gal is
using all modifications, or we're not applying our change.

One way around that is to have a dangling <include> element in common.xml:

  <!-- If you want to override configuration options
       in this file, consider putting them into
       local.xml rather than here.
    -->
  <include name="local.xml" optional="true"/>

We don't ship that local.xml. If it doesn't exist, we don't complain,
but if the user does create it, we parse it like any other config file.

Signed-off-by: Olaf Kirch <okir@suse.de>
utils: filter out alias names in ni_format_bitmap
wol: support for wake on lan configuration (bnc#869114)
Minor cosmetic error logging fix to ni_config_parse_addrconf_*

Several ni_error() calls were referring to an XML element by

   <something attribute="foobar"

without closing right angle. Fixed those.

Signed-off-by: Olaf Kirch <okir@suse.de>
Updated wicked-config.5 manpage

Signed-off-by: Olaf Kirch <okir@suse.de>
wol: handle devices without wol support (bnc#869114)
Merge pull request #411 from okirch/config-doc

Some config.xml enhancements and big manpage update
Merge pull request #410 from okirch/nuke-obsolete-socket-fncts

Nuke obsolete socket fncts
Merge pull request #409 from mtomaschewski/wol

wol: support for wake on lan configuration (bnc#869114)
Merge pull request #407 from mtomaschewski/ifconfig-1

ifconfig: delete address first if address differs (bnc#890406)
version 0.6.6