• Michael Tremer's avatar
    ipset: Set maxelem to a fixed size · 52176cc7
    Michael Tremer authored
    When we try to load a changed set which might have more entries, a
    previous maxelem could have been smaller preventing us from adding new
    entries.
    
    We also cannot run the "create" command with a changed maxelem
    parameter which is why this patch set the value to something that should
    be large enough for everything.
    
    The downside of this is also, that we cannot modify the hashsize when we
    reload a set, which is probably okay, since sets should not change too
    much in size and therefore will only run *slightly* less efficient - if
    at all.
    Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
    52176cc7
export.py 6.86 KB