Skip to content

Commit 8c83cdf

Browse files
committed
To test
1 parent f432890 commit 8c83cdf

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

legacy/LegacyNetworkAPIs.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,18 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN+1] = {
544544
}
545545
}
546546
}
547+
NMLOG_INFO("=========================================================");
548+
NMLOG_INFO("rc = %d", rc);
549+
NMLOG_INFO("ipversion = %s", address.ipversion.c_str());
550+
NMLOG_INFO("autoconfig = %d", address.autoconfig);
551+
NMLOG_INFO("dhcpserver = %s", address.dhcpserver.c_str());
552+
NMLOG_INFO("ula = %s", address.ula.c_str());
553+
NMLOG_INFO("ipaddress = %s", address.ipaddress.c_str());
554+
NMLOG_INFO("prefix = %d", address.prefix);
555+
NMLOG_INFO("gateway = %s", address.gateway.c_str());
556+
NMLOG_INFO("primarydns", address.primarydns.c_str());
557+
NMLOG_INFO("secondarydns", address.secondarydns.c_str());
558+
NMLOG_INFO("=========================================================");
547559
return rc;
548560
}
549561

plugin/gnome/NetworkManagerGnomeProxy.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,18 @@ namespace WPEFramework
571571
}
572572
else
573573
NMLOG_WARNING("ipversion error IPv4/IPv6");
574+
NMLOG_INFO("=========================================================");
575+
NMLOG_INFO("rc = %d", rc);
576+
NMLOG_INFO("ipversion = %s", result.ipversion.c_str());
577+
NMLOG_INFO("autoconfig = %d", result.autoconfig);
578+
NMLOG_INFO("dhcpserver = %s", result.dhcpserver.c_str());
579+
NMLOG_INFO("ula = %s", result.ula.c_str());
580+
NMLOG_INFO("ipaddress = %s", result.ipaddress.c_str());
581+
NMLOG_INFO("prefix = %d", result.prefix);
582+
NMLOG_INFO("gateway = %s", result.gateway.c_str());
583+
NMLOG_INFO("primarydns", result.primarydns.c_str());
584+
NMLOG_INFO("secondarydns", result.secondarydns.c_str());
585+
NMLOG_INFO("=========================================================");
574586
return rc;
575587
}
576588

0 commit comments

Comments
 (0)