| commit | a14879e1f4d5ea2caa1cfccf02727974501d577f | [log] [tgz] |
|---|---|---|
| author | William A. Kennington III <wak@google.com> | Fri Feb 01 21:43:11 2019 -0800 |
| committer | William A. Kennington III <wak@google.com> | Thu Feb 14 12:10:12 2019 -0800 |
| tree | c7d34c5890a23bdb6c2cfc23e4e881adbc572447 | |
| parent | a00b1c3f74d329c1ca65826e430efa9105a72465 [diff] |
util: Add a MacAddr population function
This one is pretty trivial since there is only one size of mac
address, but we want to be sure we validate the buffer.
Tested:
Built and runs through unit tests. Works when integrated into
neighbor parsing code.
Change-Id: Iaf58fc398b51a3bcbbf70968cbe353beeb7b9f54
Signed-off-by: William A. Kennington III <wak@google.com>