diff options
author | Tom Gundersen <teg@jklm.no> | 2013-11-25 01:33:04 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-11-25 14:53:56 +0100 |
commit | d2df0d0ed3a88e491405b403e6022e6619750130 (patch) | |
tree | d9bccbc34a4c2283403498b9b7ca7ce0d702a6c7 /src/libsystemd-rtnl/rtnl-util.h | |
parent | 517dcac840fe8d5bf30a05c0084eff219af10a4a (diff) |
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.
Diffstat (limited to 'src/libsystemd-rtnl/rtnl-util.h')
-rw-r--r-- | src/libsystemd-rtnl/rtnl-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-rtnl/rtnl-util.h b/src/libsystemd-rtnl/rtnl-util.h index ba0f71f944..013002dd60 100644 --- a/src/libsystemd-rtnl/rtnl-util.h +++ b/src/libsystemd-rtnl/rtnl-util.h @@ -27,7 +27,7 @@ #include "sd-rtnl.h" int rtnl_set_link_name(sd_rtnl *rtnl, int ifindex, const char *name); -int rtnl_set_link_properties(sd_rtnl *rtnl, int ifindex, const struct ether_addr *mac, unsigned mtu); +int rtnl_set_link_properties(sd_rtnl *rtnl, int ifindex, const char *alias, const struct ether_addr *mac, unsigned mtu); DEFINE_TRIVIAL_CLEANUP_FUNC(sd_rtnl*, sd_rtnl_unref); DEFINE_TRIVIAL_CLEANUP_FUNC(sd_rtnl_message*, sd_rtnl_message_unref); |