diff options
author | Dan Winship <danw@gnome.org> | 2014-10-28 08:56:07 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-10-28 17:08:46 -0400 |
commit | b084ad7f2b0d511867d82be0c9f8feb1f0a86bc2 (patch) | |
tree | e2280a0c01398b26d6f927bad058e2a0ac92dad9 /libnm-core/nm-utils-private.h | |
parent | 61e489a736425b031d0a8f60f67c2249253e333f (diff) | |
download | NetworkManager-b084ad7f2b0d511867d82be0c9f8feb1f0a86bc2.tar.gz |
libnm-core: canonicalize hardware addresses in settings
Convert hardware addresses to canonical form (uppercase, leading
zeros, colons) when setting them on/adding them to NMSetting
properties.
Diffstat (limited to 'libnm-core/nm-utils-private.h')
-rw-r--r-- | libnm-core/nm-utils-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-core/nm-utils-private.h b/libnm-core/nm-utils-private.h index a5b25ccf9e..bc42921514 100644 --- a/libnm-core/nm-utils-private.h +++ b/libnm-core/nm-utils-private.h @@ -67,4 +67,6 @@ char ** _nm_utils_strsplit_set (const char *str, const char *delimiters, int max_tokens); +char * _nm_utils_hwaddr_canonical_or_invalid (const char *mac, gssize length); + #endif |