shill: vpn: VPN devices have kVPN technology rather than kTunnel.
BUG=chromium-os:27929
TEST=000VPNGenesis
Change-Id: I64d72125468a3d681de5e1cf9fc453d08a35137b
Reviewed-on: https://gerrit.chromium.org/gerrit/18455
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
diff --git a/connection.cc b/connection.cc
index d34f547..bdec018 100644
--- a/connection.cc
+++ b/connection.cc
@@ -34,7 +34,9 @@
resolver_(Resolver::GetInstance()),
routing_table_(RoutingTable::GetInstance()),
rtnl_handler_(RTNLHandler::GetInstance()) {
- VLOG(2) << __func__;
+ VLOG(2) << __func__ << "(" << interface_index
+ << ", " << interface_name
+ << ", " << Technology::NameFromIdentifier(technology) << ")";
}
Connection::~Connection() {
@@ -58,7 +60,7 @@
IPAddress broadcast(properties.address_family);
if (!broadcast.SetAddressFromString(properties.broadcast_address) &&
- technology_ != Technology::kTunnel) {
+ technology_ != Technology::kVPN) {
LOG(ERROR) << "Broadcast address " << properties.broadcast_address
<< " is invalid";
return;