SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,19 @@
--- fragrouter.c.orig Tue Sep 21 09:47:32 1999
+++ fragrouter.c Sat Feb 23 17:14:09 2002
@@ -104,13 +104,13 @@ usage(void)
int
main(int argc, char *argv[])
{
- char c, ebuf[BUFSIZ], hops[BUFSIZ], *dev = NULL;
- int num = 0, type = -1, hopptr = 4;
+ char ebuf[BUFSIZ], hops[BUFSIZ], *dev = NULL;
+ int c, num = 0, type = -1, hopptr = 4;
attack_handler attack;
hops[0] = '\0';
- while ((c = getopt(argc, argv, "B:F:T:C:R:I:E:M:i:g:G:pVh")) != EOF) {
+ while ((c = getopt(argc, argv, "B:F:T:C:R:I:E:M:i:g:G:pVh")) != -1) {
switch (c) {
case 'B':
type = ATTACK_BASE;