]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
options: Fix parsing of strings.
authorRoy Marples <roy@marples.name>
Fri, 23 Dec 2022 17:35:29 +0000 (17:35 +0000)
committerRoy Marples <roy@marples.name>
Fri, 23 Dec 2022 18:52:56 +0000 (18:52 +0000)
commit676ccc6395d67acb76a9115ccf30c804bfd7d16a
tree58d7809924d93a07d533225cfff20f73d3ce4a5d
parent7a78e8a0a4db71425550e27ab5cdf0ca979ab184
options: Fix parsing of strings.

If we are not passed a buffer we should blindly return the
result of trying to parse it has as a hex string - it will be zero.
Fixes 133.
src/if-options.c