summaryrefslogtreecommitdiff
path: root/lib/command.h
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-09 09:02:41 +0100
commit3d5fc15be24e026472e259d02564dae1d73d3af5 (patch)
tree8a8ed43221bbdf5f1e8caacab7d621aae45d7005 /lib/command.h
parent4e8e1df14390b20c18397fc5643e11cc35942921 (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/command.h')
0 files changed, 0 insertions, 0 deletions