Add uob-nomad, closes #540
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5001 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
net/uob-nomad/patches/001-inet_sr.patch
Normal file
11
net/uob-nomad/patches/001-inet_sr.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -urN uob-nomad-0.11/Client/net-tools/lib/inet_sr.c uob-nomad-0.11.new/Client/net-tools/lib/inet_sr.c
|
||||
--- uob-nomad-0.11/Client/net-tools/lib/inet_sr.c 2003-09-05 10:21:52.000000000 +0200
|
||||
+++ uob-nomad-0.11.new/Client/net-tools/lib/inet_sr.c 2006-10-09 20:36:50.000000000 +0200
|
||||
@@ -105,6 +105,7 @@
|
||||
case 2:
|
||||
isnet = 0; break;
|
||||
default:
|
||||
+ break;
|
||||
}
|
||||
|
||||
/* Fill in the other fields. */
|
34
net/uob-nomad/patches/002-hostname.patch
Normal file
34
net/uob-nomad/patches/002-hostname.patch
Normal file
@ -0,0 +1,34 @@
|
||||
--- uob-nomad-0.11/Client/net-tools/hostname.c 2003-09-05 10:21:54.000000000 +0200
|
||||
+++ uob-nomad-0.11.new/Client/net-tools/hostname.c 2006-10-09 20:38:25.000000000 +0200
|
||||
@@ -77,6 +77,7 @@
|
||||
fprintf(stderr, _("%s: name too long\n"), program_name);
|
||||
break;
|
||||
default:
|
||||
+ break;
|
||||
}
|
||||
exit(1);
|
||||
}
|
||||
@@ -97,6 +98,7 @@
|
||||
fprintf(stderr, _("%s: name too long\n"), program_name);
|
||||
break;
|
||||
default:
|
||||
+ break;
|
||||
}
|
||||
exit(1);
|
||||
};
|
||||
@@ -116,6 +118,7 @@
|
||||
fprintf(stderr, _("%s: name too long\n"), program_name);
|
||||
break;
|
||||
default:
|
||||
+ break;
|
||||
}
|
||||
exit(1);
|
||||
};
|
||||
@@ -173,6 +176,7 @@
|
||||
printf("%s\n", hp->h_name);
|
||||
break;
|
||||
default:
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
|
21
net/uob-nomad/patches/003-conf.patch
Normal file
21
net/uob-nomad/patches/003-conf.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff -ruN package/uobnomad.orig/patches/003-conf.patch package/uobnomad/patches/003-conf.patch
|
||||
--- package/uobnomad.orig/patches/003-conf.patch 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ package/uobnomad/patches/003-conf.patch 2006-05-08 16:54:36.000000000 +0200
|
||||
@@ -0,0 +1,17 @@
|
||||
+--- uob-nomad-0.11-orig/Client/mobile.h 2003-10-20 16:07:09.000000000 +0200
|
||||
++++ uob-nomad-0.11/Client/mobile.h 2006-05-08 16:53:31.000000000 +0200
|
||||
+@@ -83,10 +83,10 @@
|
||||
+ /* Destination port for registration requests */
|
||||
+ #define MIP_PORT 434
|
||||
+
|
||||
+-//#define CONF_FILE_NAME "/etc/mipmn.conf"
|
||||
+-//#define FILTER_FILE_NAME "/etc/mipmn-filters.conf"
|
||||
+-#define CONF_FILE_NAME "/home/adu/mipmn.conf"
|
||||
+-#define FILTER_FILE_NAME "/home/adu/mipmn-filters.conf"
|
||||
++#define CONF_FILE_NAME "/etc/mipmn.conf"
|
||||
++#define FILTER_FILE_NAME "/etc/mipmn-filters.conf"
|
||||
++//#define CONF_FILE_NAME "/home/adu/mipmn.conf"
|
||||
++//#define FILTER_FILE_NAME "/home/adu/mipmn-filters.conf"
|
||||
+ #define ROUTE_PATH "/sbin/route"
|
||||
+
|
||||
+ /* Maximum number of mobility agents a MN keeps track of */
|
Reference in New Issue
Block a user