summaryrefslogtreecommitdiff
blob: 4772cfe016cafd11dead676f3a1c6df436e6ee43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --exclude='*~' -Naur braa-0.8.orig/Makefile braa-0.8/Makefile
--- braa-0.8.orig/Makefile	2005-09-08 23:02:28.000000000 -0300
+++ braa-0.8/Makefile	2005-09-08 23:23:24.000000000 -0300
@@ -4,8 +4,6 @@
 ###################################################################
 
 # Linux, FreeBSD, OpenBSD
-CFLAGS = 
-LDFLAGS = 
 
 # Solaris / SPARC
 # CFLAGS = -DSOLARIS_SPARC
@@ -24,9 +22,9 @@
 LIBS = 
 
 all: ${OBJECTS}
-	cc $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
+	$(CC) $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
 	strip $(OUT)
 
 clean:
 	rm -rf $(OBJECTS) $(OUT)
-	
\ No newline at end of file
+	
diff --exclude='*~' -Naur braa-0.8.orig/queries.c braa-0.8/queries.c
--- braa-0.8.orig/queries.c	2005-09-08 23:02:28.000000000 -0300
+++ braa-0.8/queries.c	2005-09-08 23:11:44.000000000 -0300
@@ -43,7 +43,7 @@
 		 * nxqry;
 	struct query_hostrange * hr, * prev;
 	u_int32_t hostrange_start, hostrange_end;
-	u_int16_t port = 161;
+	u_int32_t port = 161;
 	struct in_addr ina;
 		 
 	assert(string = strdup(string));