Add support for IFALIAS
New 2.6.28 support for text description
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index a732d80..28d3c2d 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -281,6 +281,10 @@
if (do_link && tb[IFLA_LINKINFO] && show_details)
print_linktype(fp, tb[IFLA_LINKINFO]);
+ if (do_link && tb[IFLA_IFALIAS])
+ fprintf(fp,"\n alias %s",
+ (const char *) RTA_DATA(tb[IFLA_IFALIAS]));
+
if (do_link && tb[IFLA_STATS] && show_stats) {
struct rtnl_link_stats slocal;
struct rtnl_link_stats *s = RTA_DATA(tb[IFLA_STATS]);