patch-2.0.36 linux/fs/nfs/nfsroot.c
Next file: linux/fs/nfs/proc.c
Previous file: linux/fs/nfs/nfsiod.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Nov 15 10:33:14 1998
- Orig file:
v2.0.35/linux/fs/nfs/nfsroot.c
- Orig date:
Sun Nov 15 10:49:49 1998
diff -u --recursive --new-file v2.0.35/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -16,6 +16,7 @@
*
* Changes:
*
+ * R. Drahtmueller : Set IFF_MULTICAST in dev->flags if applicable.
* Alan Cox : Removed get_address name clash with FPU.
* Alan Cox : Reformatted a bit.
* Gero Kuhlmann : Code cleanup
@@ -179,7 +180,11 @@
(!user_dev_name[0] || !strcmp(dev->name, user_dev_name))) {
/* First up the interface */
old_flags = dev->flags;
+#ifdef CONFIG_IP_MULTICAST
+ dev->flags = IFF_UP | IFF_BROADCAST | IFF_RUNNING | IFF_MULTICAST;
+#else
dev->flags = IFF_UP | IFF_BROADCAST | IFF_RUNNING;
+#endif
if (!(old_flags & IFF_UP) && dev_open(dev)) {
dev->flags = old_flags;
continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov