fix paths referencing include/openflow.h, which was moved to include/openflow/openflow.h

This commit is contained in:
Brandon Heller committed 2008-11-25 07:51:51 -08:00
1 parent 6e342edace
commit 36ec367d2c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ foreach my $type ('enum', 'struct', 'define') {
mkdir $type;
}
open(INFILE, "<../../include/openflow.h");
open(INFILE, "<../../include/openflow/openflow.h");
my $last_comment;
while(<INFILE>)
+1 -1
View File
@@ -155,7 +155,7 @@ $ofp->configure(ByteOrder => 'BigEndian');
check_OF_vars_set();
# load C structs and enums
my $of_file = $ENV{'OF_ROOT'}.'/include/openflow.h';
my $of_file = $ENV{'OF_ROOT'}.'/include/openflow/openflow.h';
#print "$of_file\n";
eval { $ofp->parse_file($of_file) };
+1 -1
View File
@@ -66,7 +66,7 @@ my $nf2_kernel_module_name_no_ext = 'hwtable_nf2_mod';
my $nf2_kernel_module_name = $nf2_kernel_module_name_no_ext . '.ko';
my $openflow_dir = $ENV{OF_ROOT};
if (! -e "$openflow_dir/include/openflow.h") {
if (! -e "$openflow_dir/include/openflow/openflow.h") {
die "please set OF_ROOT in path so that OFUtil.pm can extract constants"
}