userspace/tools/radiusvlan: various fixes
This commit fixes errors in pipe closing, and changes the parsing.
NOTE: it also changes the identification of "self" frames. ppsi
sends everything using the eth0 mac address, which is different
from the wriXX port.
This is hacked now by checking the first 5 bytes, but it must be
fixed for real.
Finally, I save both stdin and stdout that I exchange with radclient
into tmp, so we can check what happened during tests.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment