summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2017-02-09 08:42:32 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2017-02-14 13:59:00 +0100
commitdb42a173d67868b522b3a3a035372f582152b3c1 (patch)
treed488fce7f63a28f32cbc1ced2f41eae1d9c554d7 /lib/json.c
parent7acff3e73536f9f5afc3d7ffbbe1d72c2cbfc38e (diff)
lib: simplify str2mac and use struct ethaddr structure
This commit simplified the string to mac conversion, since it uses sscanf, instead of depicting each incoming character one by one, and doing self analysis. Also,this commit changes the internal usage of the mac address representation in mac handling function. Signed-off-by: Lou Berger <lberger@labn.net> Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions