OSDN Git Service

Increase the valid name of the iface to IFNAMSIZ
authorJaime A Lopez-Sollano <jaimel@quicinc.com>
Thu, 12 Jan 2012 00:29:28 +0000 (16:29 -0800)
committerRobert Greenwalt <rgreenwalt@google.com>
Wed, 1 Feb 2012 01:18:35 +0000 (17:18 -0800)
commitd14fd4f83ffeea4ad1cd559a41f775f6814565cc
tree5aac6b94529b6ebac919e42161ea32e6f8d1996d
parent6db274f1b2d56573adb2e816fc3bc816f1d0707a
Increase the valid name of the iface to IFNAMSIZ

Define MAX_IFACE_LENGTH as IFNAMSIZ instead of 10, to
prevent netd from treating an interface name 'rmnet_sdio0'
as invalid.
Also fix an off-by-one error.

Change-Id: If6b2b27d2da6eb72f01c090cbe4f7dc2b9c296ae
NatController.cpp
SecondaryTableController.cpp
SecondaryTableController.h