Opened 11 years ago
Closed 11 years ago
#3211 closed defect (worksforme)
block_same_ip and block_same_name not saved over WebIf
Reported by: | hapeba | Owned by: | alno |
---|---|---|---|
Priority: | blocker | Component: | Webinterface |
Severity: | high | Keywords: | |
Cc: | Sensitive: | no |
Description
Change History (5)
comment:1 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 11 years ago
When enabling in Simple block: IP-Yes and Name-Yes. and save this in webif, the lines:
block_same_ip = 0
block_same_name = 0
are erased and not changed to:
block_same_ip = 1
block_same_name = 1
bit confusing for users?
comment:3 by , 11 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:4 by , 11 years ago
@Jan Gruuthuse:
Default values are not saved. Parameter different from them are saved only. You can find the default values for the parameter in 'oscam-config-global.c'.
DEF_OPT_INT8("block_same_ip" , OFS(block_same_ip), 1 ),
DEF_OPT_INT8("block_same_name" , OFS(block_same_name), 1 ),
comment:5 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
only the first save over webif is not ok.
After edit oscam.conf and write the two parameters, save over webif is ok.