From 8621b5f2d863c5db0aac4464d5ce70b1b7558f89 Mon Sep 17 00:00:00 2001 From: Chinh Tran Date: Tue, 2 Nov 2010 14:27:40 -0700 Subject: external/connectivity: Use active gatewayAddress for default route Cne should use the active gatewayAddress for default route if the gatewayAddress saved by iproute2 is not available. And Cne should not delete the default entry when Cne detects no routing table exists. Change-Id: I3027b277c72eec415eea67af1b1bc3d60350fc14 CRs-fixed: 262357 --- cnd/inc/cnd_iproute2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cnd/inc/cnd_iproute2.h') diff --git a/cnd/inc/cnd_iproute2.h b/cnd/inc/cnd_iproute2.h index 0c41875..24b8080 100644 --- a/cnd/inc/cnd_iproute2.h +++ b/cnd/inc/cnd_iproute2.h @@ -214,7 +214,8 @@ class cnd_iproute2 */ bool replaceDefaultEntryInMainTable ( - uint8_t *deviceName + uint8_t *deviceName, + uint8_t *gatewayAddress ); /** -- cgit v1.2.3