]> git.ipfire.org Git - thirdparty/ipset.git/commit
Constified attribute cannot be written
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 26 Jan 2011 21:59:25 +0000 (22:59 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 26 Jan 2011 21:59:25 +0000 (22:59 +0100)
commit36c7d241b6486d1ce3c4dd1c8a1fa42e870c3355
treea81273b38044ee08d181284227063a49d09379ed
parent8271afcab2f219158ec5d63f6b625cd64dcc98a8
Constified attribute cannot be written

Attribute is const so a little bit more work is needed to return
the error line number. A test is also added in order to check
the functionality. (Patrick McHardy's review)
kernel/ip_set_core.c
tests/ipmap.t