On Wed, 2011-11-23 at 17:06 +0800, Gary Ching-Pang Lin wrote:
> If the iface name is invalid, the index is -1.
Applied, thanks!
Dan
> ---
> src/nm-device.c |2 +-
> src/vpn-manager/nm-vpn-connection.c |2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff
If the iface name is invalid, the index is -1.
---
src/nm-device.c |2 +-
src/vpn-manager/nm-vpn-connection.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nm-device.c b/src/nm-device.c
index 53eece8..e443663 100644
--- a/src/nm-device.c
+++