config: DNS configuration isn't interface-specific
authorJeremy Kerr <jk@ozlabs.org>
Thu, 8 Aug 2013 06:21:00 +0000 (14:21 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 8 Aug 2013 08:28:39 +0000 (16:28 +0800)
commitf53d1e4dc6735b90806ceed54f9d73572b5960f5
treee90000c8c788ebe0599dea91ffc87632abce06f1
parent2b41985dde73e71daad90c36fa5d06c199da3ae1
config: DNS configuration isn't interface-specific

Rather than attaching DNS configuration to an interface, separate it out
into general network config.

The powerpc-nvram storage exepects dns as a "dns,server,..." string.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/pb-config/pb-config.h
lib/pb-config/storage-powerpc-nvram.c
lib/pb-config/storage-test.c