diff -Nru weborf-0.13/debian/changelog weborf-0.13/debian/changelog --- weborf-0.13/debian/changelog 2011-03-26 14:40:19.000000000 +0000 +++ weborf-0.13/debian/changelog 2011-12-19 09:54:39.000000000 +0000 @@ -1,3 +1,9 @@ +weborf (0.13-2) unstable; urgency=low + + * Backport fix from upstream: qweborf doesn't crash when miredo is in use + + -- Salvo 'LtWorf' Tomaselli Mon, 19 Dec 2011 10:54:07 +0100 + weborf (0.13-1) unstable; urgency=low * New upstream release diff -Nru weborf-0.13/debian/patches/miredo weborf-0.13/debian/patches/miredo --- weborf-0.13/debian/patches/miredo 1970-01-01 00:00:00.000000000 +0000 +++ weborf-0.13/debian/patches/miredo 2011-12-19 09:58:42.000000000 +0000 @@ -0,0 +1,33 @@ +Description: Fix qweborf if miredo is in use + Miredo creates a virtual network interface with a global IPv6 address. + The interface lacks an hw address, condition that caused qweborf to crash + miserably if it was being used. + . + weborf (0.13-2) unstable; urgency=low + . + * Backport fix from upstream: qweborf doesn't crash when miredo is in use +Author: Salvo 'LtWorf' Tomaselli + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: upstream +Reviewed-By: Salvo "LtWorf" Tomaselli +Last-Update: 2011-12-19 + +--- weborf-0.13.orig/qweborf/nhelper.py ++++ weborf-0.13/qweborf/nhelper.py +@@ -131,8 +131,9 @@ def getifaddrs(): + + if name not in result: + result[name] = {} +- +- sa = sockaddr.from_address(ifa.ifa_addr) ++ ++ if ifa.ifa_addr != None: ++ sa = sockaddr.from_address(ifa.ifa_addr) + + if sa.sa_family not in result[name]: + result[name][sa.sa_family] = [] diff -Nru weborf-0.13/debian/patches/series weborf-0.13/debian/patches/series --- weborf-0.13/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ weborf-0.13/debian/patches/series 2011-12-19 09:55:57.000000000 +0000 @@ -0,0 +1 @@ +miredo