summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-12 14:26:26 -0700
committerDavid S. Miller <davem@davemloft.net>2005-09-12 14:26:26 -0700
commit723772913e6caf82919754f9d73fa55fc762bb1b (patch)
tree0247acc348e2285ae7f347aca3f712805ab1188e
parentdd8aa40431d2776ef72fd36aab6a6a6bf0f45967 (diff)
downloadlinux-723772913e6caf82919754f9d73fa55fc762bb1b.tar.bz2
[NETROM]: NET/ROM has no ARP
ARP over NET/ROM does not exist so it's obviously not implemented on any NET/ROM stack, so the NET/ROM interfaces really should default to IFF_NOARP. Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/netrom/nr_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/nr_dev.c b/net/netrom/nr_dev.c
index 0559cc07ecd8..909aa7f50744 100644
--- a/net/netrom/nr_dev.c
+++ b/net/netrom/nr_dev.c
@@ -198,7 +198,7 @@ void nr_setup(struct net_device *dev)
dev->set_mac_address = nr_set_mac_address;
/* New-style flags. */
- dev->flags = 0;
+ dev->flags = IFF_NOARP;
dev->get_stats = nr_get_stats;
}