Changeset d83c60ec436c1936f4b7e575a76dc3fe546b6d04
- Timestamp:
- 10/08/09 18:34:25
(4 years ago)
- Author:
- Brian Clapper <bclapper@omniti.com>
- git-committer:
- Brian Clapper <bclapper@omniti.com> 1255026865 +0000
- git-parent:
[e491b53294aeddccf8aa2e3272333c43bb569b33]
- git-author:
- Brian Clapper <bclapper@omniti.com> 1255026865 +0000
- Message:
filtersets don't work over REST due to word mixups
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r421cec7 |
rd83c60e |
|
| 342 | 342 | ATTR2PROP(timeout); |
|---|
| 343 | 343 | ATTR2PROP(disable); |
|---|
| 344 | | ATTR2PROP(filter); |
|---|
| | 344 | ATTR2PROP(filterset); |
|---|
| 345 | 345 | } |
|---|
| 346 | 346 | for(oldconfig = check->children; oldconfig; oldconfig = oldconfig->next) |
|---|
| rfc257c3 |
rd83c60e |
|
| 125 | 125 | if(strcmp((char *)r->name, "rule")) return NULL; |
|---|
| 126 | 126 | type = (char *)xmlGetProp(r, (xmlChar *)"type"); |
|---|
| 127 | | if(!type || (strcmp(type, "deny") && strcmp(type, "allow"))) { |
|---|
| | 127 | if(!type || (strcmp(type, "deny") && strcmp(type, "accept"))) { |
|---|
| 128 | 128 | if(type) xmlFree(type); |
|---|
| 129 | 129 | return NULL; |
|---|