diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-09 08:42:32 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-09 09:02:41 +0100 |
| commit | 3d5fc15be24e026472e259d02564dae1d73d3af5 (patch) | |
| tree | 8a8ed43221bbdf5f1e8caacab7d621aae45d7005 /lib/command.h | |
| parent | 4e8e1df14390b20c18397fc5643e11cc35942921 (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
