From cd5297d73ee588455ab79952e0207c11c72ab4eb Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 22 Apr 2008 14:02:04 +0000 Subject: [PATCH] Show GSM & CDMA device types git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3585 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- test/nm-tool.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/nm-tool.c b/test/nm-tool.c index 41c695bdc5..6367a7a437 100644 --- a/test/nm-tool.c +++ b/test/nm-tool.c @@ -34,6 +34,8 @@ #include #include #include +#include +#include #include static gboolean @@ -211,6 +213,10 @@ detail_device (gpointer data, gpointer user_data) print_string ("Type", "Wired"); else if (NM_IS_DEVICE_802_11_WIRELESS (device)) print_string ("Type", "802.11 Wireless"); + else if (NM_IS_GSM_DEVICE (device)) + print_string ("Type", "Mobile Broadband (GSM)"); + else if (NM_IS_CDMA_DEVICE (device)) + print_string ("Type", "Mobile Broadband (CDMA)"); print_string ("Driver", nm_device_get_driver (device) ? nm_device_get_driver (device) : "(unknown)");