Change network configuration to use macros.
authorRichard Jones <rjones@redhat.com>
Tue, 4 May 2010 14:06:09 +0000 (15:06 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 14 May 2010 15:59:45 +0000 (16:59 +0100)
commit47bd233069261094f198f0fd14c57631ce69b4ec
tree7ed1aafc660bab1e9e6a6409db5bb42f98b1f42b
parent542452fb83486749edc482bd80a7ac6640a1fd7a
Change network configuration to use macros.

Change the network configuration so everything is set using
some macros at the top of src/guestfs.c.

Also, rename the macros used in the daemon so they are not the
same.  It was a very long time since these sets of macros had to
match the ones defined in src/guestfs.c, despite what the comment
said.

Note that this commit should not change the semantics of the
program at all.
(cherry picked from commit 8a9f2ca65521d093ac14307aca4370d9497ac840)
daemon/guestfsd.c
src/guestfs.c