summaryrefslogtreecommitdiff
path: root/common/parse.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2014-04-25 10:50:24 -0700
committerShawn Routhier <sar@isc.org>2014-04-25 10:50:24 -0700
commit38c4774a4324a16f0a9f39950700699949acb362 (patch)
treebb2da2f818d6eb7d362daaca512990bf3aa1a202 /common/parse.c
parent57187138e0098a281b689de6170325d4c9fe4c0b (diff)
downloadisc-dhcp-38c4774a4324a16f0a9f39950700699949acb362.tar.gz
[master] Several small patches
Tidy up several small tickets Correct parsing of DUID from config file, previously the LL type was put in the wrong place in the DUID string. [ISC-Bugs #20962] Add code to parse "do-forward-updates" as well as "do-forward-update" [ISC-Bugs #31328] Remove log_priority as it isn't currently used. [ISC-Bugs #33397] Increase the size of the buffer used for reading interface information. [ISC-Bugs #34858]
Diffstat (limited to 'common/parse.c')
-rw-r--r--common/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/parse.c b/common/parse.c
index d86a1f95..38d350f4 100644
--- a/common/parse.c
+++ b/common/parse.c
@@ -5564,10 +5564,10 @@ int parse_warn (struct parse *cfile, const char *fmt, ...)
lexbuf [lix] = 0;
#ifndef DEBUG
- syslog (log_priority | LOG_ERR, "%s", mbuf);
- syslog (log_priority | LOG_ERR, "%s", cfile -> token_line);
+ syslog (LOG_ERR, "%s", mbuf);
+ syslog (LOG_ERR, "%s", cfile -> token_line);
if (cfile -> lexchar < 81)
- syslog (log_priority | LOG_ERR, "%s^", lexbuf);
+ syslog (LOG_ERR, "%s^", lexbuf);
#endif
if (log_perror) {