mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 21:50:27 +01:00
2007-12-07 Dan Williams <dcbw@redhat.com>
* src/nm-serial-device.c - (real_is_up): serial devices are always "up" git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3157 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
46c6e7c7c6
commit
bc309840db
2 changed files with 13 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-12-07 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-serial-device.c
|
||||
- (real_is_up): serial devices are always "up"
|
||||
|
||||
2007-12-07 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-netlink.c
|
||||
|
|
|
|||
|
|
@ -888,6 +888,13 @@ real_check_connection (NMDevice *dev, NMConnection *connection)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
real_is_up (NMDevice *device)
|
||||
{
|
||||
/* Serial devices are always "up" */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static void
|
||||
|
|
@ -916,6 +923,7 @@ nm_serial_device_class_init (NMSerialDeviceClass *klass)
|
|||
/* Virtual methods */
|
||||
object_class->finalize = finalize;
|
||||
|
||||
parent_class->is_up = real_is_up;
|
||||
parent_class->check_connection = real_check_connection;
|
||||
parent_class->act_stage2_config = real_act_stage2_config;
|
||||
parent_class->act_stage4_get_ip4_config = real_act_stage4_get_ip4_config;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue