dslite: Quote resolveip hostname argument
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 6 Oct 2016 07:13:40 +0000 (09:13 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 6 Oct 2016 10:16:12 +0000 (12:16 +0200)
commit34528c4807de017c359d87d0cd3c415cc0ae1893
tree371e209e81973b3dabce089f553d0d79f2803f9b
parent7694c5cf0edc51e7a9cea188143c6fef2f38f442
dslite: Quote resolveip hostname argument

Quote resolveip hostname argument to avoid bad shell injections.
While at it fix pattern match logic in case multiple IPv6 addresses
are returned for a hostname as they're seperated by newline by
resolveip and not a white space

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/ipv6/ds-lite/Makefile
package/network/ipv6/ds-lite/files/dslite.sh