Tweaking based on feedback: default_interface gets a more appropriate name and
sigar_get_default_gateway now gathers both pieces of information.
This commit is contained in:
1 parent
d9f37b39a4
commit
4fdcee3635
3 files changed
+9
-34
No files matched your search
+1
-1
@@ -527,7 +527,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
char default_gateway[SIGAR_INET6_ADDRSTRLEN];
|
||||
char default_interface[16];
|
||||
char default_gateway_interface[16];
|
||||
char host_name[SIGAR_MAXHOSTNAMELEN];
|
||||
char domain_name[SIGAR_MAXDOMAINNAMELEN];
|
||||
char primary_dns[SIGAR_INET6_ADDRSTRLEN];
|
||||
|
||||
Reference in new issue
Block a user