From 93129738ca8450899e416420f630aee17c8301d5 Mon Sep 17 00:00:00 2001
From: Maxim Levitsky <maximlevitsky@gmail.com>
Date: Thu, 9 Dec 2010 00:30:55 +0200
Subject: [PATCH] NM: allow use of IPV4 over firewire
Don't ignore these devices since NM
works just fine with them iff the dhclient
works.
Patches are posted to make it work with
firewire networking link
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
---
src/nm-udev-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
@@ -408,7 +408,9 @@ net_add (NMUdevManager *self, GUdevDevice *device)
g_return_if_fail (device != NULL);
etype = g_udev_device_get_sysfs_attr_as_int (device, "type");
- if (etype != 1) {
+
+ /* firewire devices are similiar to ethernet, so allow them too */
+ if (etype != 1 && etype != 24) {
nm_log_dbg (LOGD_HW, "ignoring interface with type %d", etype);
return; /* Not using ethernet encapsulation, don't care */
}
--
1.7.1