From d2df0d0ed3a88e491405b403e6022e6619750130 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 25 Nov 2013 01:33:04 +0100 Subject: udev: net_setup_link - don't use Description as Alias Use Description only internally, and allow Alias to be set as a separate option. For instance SNMP uses ifalias for a specific purpose, so let's not write to it by default. --- src/shared/net-util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/shared/net-util.h') diff --git a/src/shared/net-util.h b/src/shared/net-util.h index eac394bffa..d6ca737e7f 100644 --- a/src/shared/net-util.h +++ b/src/shared/net-util.h @@ -43,4 +43,8 @@ int config_parse_ifname(const char *unit, const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_ifalias(const char *unit, const char *filename, unsigned line, + const char *section, const char *lvalue, int ltype, + const char *rvalue, void *data, void *userdata); + int net_parse_inaddr(const char *address, unsigned char *family, void *dst); -- cgit v1.2.3