netfilter device->netdevice

Drew Bernat (abernat@zathras.net)
Wed, 25 Aug 1999 12:19:19 -0500 (CDT)


The most recent (I believe) version of netfilter (0.1.4) breaks when
compiled on linux-2.3.15-pre3. The problem is that the device struct was
renamed to net_device in /usr/include/linux/netfilter.h. My fix is below
(an sh script)

#!/bin/sh
for i in (`find . -name "*.[ch]"`); do
sed -e "s/struct device/struct net_device/" $i > $i.2
mv $i $i.orig
mv $i.2 $i
done

Drew

-- 
Drew Bernat                                                __ ____
abernat@zathras.net                                         |  | |
http://www.zathras.net                                         | |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/