Add dhcpcd_encode which encodes raw data back into a safe string.
authorRoy Marples <roy@marples.name>
Tue, 30 Sep 2014 07:27:37 +0000 (07:27 +0000)
committerRoy Marples <roy@marples.name>
Tue, 30 Sep 2014 07:27:37 +0000 (07:27 +0000)
commitb43418d09743a5a11862a9bdf9b3ea2dd47dcb23
tree77054cbbf255bc9fd62d553e6937616586451932
parent2878cc3d54d9ac2a765bdb3fd16cd9ae84376808
Add dhcpcd_encode which encodes raw data back into a safe string.
This is used to convert wpa_supplicant safe strings into dhcpcd ones so the
display is consistent.
If a SSID has unsafe characters in and saving to wpa_supplicant.conf then
convert the SSID to a hex string.
A vis(3) shim has been added if libc does not provide one.
configure
src/libdhcpcd/Makefile
src/libdhcpcd/dhcpcd.c
src/libdhcpcd/dhcpcd.h
src/libdhcpcd/unvis.c
src/libdhcpcd/vis.c [new file with mode: 0644]
src/libdhcpcd/wpa.c