summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-08 18:55:58 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-08 18:55:58 +1100
commit75456e8ab2df99061a6aa69bcc914d05c2f4f98c (patch)
treee8ef591c547d797acb5e32638589ae04395769cb /readconf.c
parentf2705c8b7d0b6a9cc33c244bdf041f2a1087e08a (diff)
- stevesk@cvs.openbsd.org 2009/12/25 19:40:21
[readconf.c servconf.c misc.h ssh-keyscan.c misc.c] validate routing domain is in range 0-RT_TABLEID_MAX. 'Looks right' deraadt@
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/readconf.c b/readconf.c
index 6b2e3b21d..2f1b0cd3b 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.179 2009/10/28 16:38:18 reyk Exp $ */ 1/* $OpenBSD: readconf.c,v 1.180 2009/12/25 19:40:21 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -925,7 +925,7 @@ parse_int:
925 if (!arg || *arg == '\0') 925 if (!arg || *arg == '\0')
926 fatal("%.200s line %d: Missing argument.", 926 fatal("%.200s line %d: Missing argument.",
927 filename, linenum); 927 filename, linenum);
928 value = a2port(arg); 928 value = a2rdomain(arg);
929 if (value == -1) 929 if (value == -1)
930 fatal("%.200s line %d: Bad rdomain.", 930 fatal("%.200s line %d: Bad rdomain.",
931 filename, linenum); 931 filename, linenum);