Opened 9 years ago

Closed 9 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 hapeba, 9 years ago

Resolution: invalid
Status: newclosed

only the first save over webif is not ok.
After edit oscam.conf and write the two parameters, save over webif is ok.

comment:2 by Jan Gruuthuse, 9 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?

Last edited 9 years ago by Jan Gruuthuse (previous) (diff)

comment:3 by Jan Gruuthuse, 9 years ago

Resolution: invalid
Status: closedreopened

comment:4 by dropsman, 9 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 dropsman, 9 years ago

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.