Check-in Number:
|
3313 | |
Date: |
2003-Mar-24 16:16:00 (local)
2003-Mar-24 15:16:00 (UTC) |
User: | thl |
Branch: | |
Comment: |
sanity checking in the l2_ch_syslog.c:hook_configure() |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/l2/TODO 1.59 -> 1.60
--- TODO 2003/01/27 16:01:35 1.59
+++ TODO 2003/03/24 15:16:00 1.60
@@ -9,6 +9,15 @@
TODO
====
+20030324 thl
+ The sanity checking in the l2_ch_syslog.c:hook_configure()
+ implementation causes an artifical sensibility to the order of
+ parameters when a l2spec is used. A possible solution could be to
+ relocate the sanity checks into hook_open(). The following two
+ lines show simple examples, the first one works, the second doesn't.
+ $ echo "hello" | l2tool 'syslog(facility=mail, ident=info, remotehost="127.0.0.1", remoteport="514", target="remote")' #works
+ $ echo "hello" | l2tool 'syslog(facility=mail, ident=info, target="remote", remotehost="127.0.0.1", remoteport="514")' #error
+
20030127 thl
Fixed a bug in l2_channel.c:l2_channel_destroy() where chD was
passing a pointer to l2_channel_downstream() to find a sibling of a
|
|