interface-ip: fix device name for IPv6 link-local DNS server
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 3 Apr 2017 07:47:08 +0000 (09:47 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 5 Apr 2017 15:49:45 +0000 (17:49 +0200)
commit6e0acecbacdb5bf1ce0b71d4c2512eae4606be57
tree5b51761d0e5f5d878a243f2dd5a731b6051a7320
parenta03216660797173fbe67866f75564e3fec9c1e8d
interface-ip: fix device name for IPv6 link-local DNS server

Commit 235a02424c3ab1b59308895c4f00395dacf2557c adds support for IPv6 link-local
DNS server by appending the device name; however the interface ifname parameter
does not always contain the layer 3 device name (e.g it can hold the aliased
interface name)
Fix this by passing the device name of the referenced layer 3 device.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface-ip.c