summaryrefslogtreecommitdiff
path: root/net/p5-Net-Pcap/patches/patch-aa
blob: 19c5942916e3d691744dace4f6c1226501efd2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.1 2008/08/24 20:07:42 he Exp $

--- t/03-openlive.t.orig	2007-12-22 20:46:39.000000000 +0100
+++ t/03-openlive.t
@@ -64,7 +64,7 @@ eval { $pcap = Net::Pcap::open_live($fak
 is(   $@,   '', "open_live()" );
 if($^O eq 'MSWin32' or $^O eq 'cygwin') {
     like( $err, '/^Error opening adapter:/', " - \$err must be set: $err" );
-} elsif($^O eq 'darwin' or $^O eq 'freebsd' or $^O eq 'openbsd') {
+} elsif($^O eq 'darwin' or $^O =~ '.*bsd') {
     like( $err, "/^(?:BIOCSETIF: )?$fakedev: Device not configured/", " - \$err must be set: $err" );
 } else {
     like( $err, '/^(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/', " - \$err must be set: $err" );