chiark
/
gitweb
/
~ian
/
userv-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1209a
)
Bugfix for "permits nothing"; ATXTLEN buffer overflow fixed.
author
ian
<ian>
Sat, 25 Sep 1999 10:12:58 +0000
(10:12 +0000)
committer
ian
<ian>
Sat, 25 Sep 1999 10:12:58 +0000
(10:12 +0000)
ipif/service.c
patch
|
blob
|
history
diff --git
a/ipif/service.c
b/ipif/service.c
index 18322d4cc71c4c98218aa7b0e6516cdaf7be7afb..d2591ba9e1f648148f0edaa770fe690cdddf9659 100644
(file)
--- a/
ipif/service.c
+++ b/
ipif/service.c
@@
-49,7
+49,7
@@
#define NARGS 4
#define MAXEXROUTES 5
-#define ATXTLEN 1
2
+#define ATXTLEN 1
6
static const unsigned long gidmaxval= (unsigned long)((gid_t)-2);
static const char *const protos_ok[]= { "slip", "cslip", "adaptive", 0 };
@@
-294,7
+294,7
@@
static void permit(unsigned long pprefix, unsigned long pmask) {
}
}
if (!proto) {
- if (!any) fputs(" nothing
!",stderr
);
+ if (!any) fputs(" nothing
",stdout
);
putchar('\n');
}
}