Fix IPv6 read
authorCristian Morales Vega <cristian@samknows.com>
Wed, 14 Dec 2016 16:49:38 +0000 (16:49 +0000)
committerJohn Crispin <john@phrozen.org>
Mon, 19 Dec 2016 07:48:58 +0000 (08:48 +0100)
commit1fa9077d63b7a1083f71ec058c338b4fb8afebe9
treed402ca15a83966555c8df8962c80d130f7072d0e
parent846369c71ce8538170d3fd088c44e52f4f197f5c
Fix IPv6 read

This is a quick fix. It may still not work when the interface has
multiple IPs, and this also applies to IPv4.

Signed-off-by: Cristian Morales Vega <cristian@samknows.com>
interface.c