constify nic types

This commit is contained in:
Doug MacEachern committed 2005-11-18 19:54:23 +00:00
1 parent bb478479b2
commit ab3c15d2e7
2 files changed
+12 -5

No files matched your search

+4
View File
@@ -234,4 +234,8 @@ int sigar_group_name_get(sigar_t *sigar, int gid, char *buf, int buflen);
int sigar_get_iftype(const char *name, int *type, int *inst);
#endif
#define SIGAR_NIC_LOOPBACK "Local Loopback"
#define SIGAR_NIC_ETHERNET "Ethernet"
#define SIGAR_NIC_NETROM "AMPR NET/ROM"
#endif