]> 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 17:35:29 +0000 (17:35 +0000)
commit6797c08b662e9a1ffb475f2b189603e88fc2f3cc
tree7b4e9ecf6048909845f6b2016f6e452826191ee3
parentf0aa82e786f243901a63060becfa789a0e1b0395
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