[sr-dev] git:master: modules_k/permissions: fixed reloading of address table
Juha Heinanen
jh at tutpro.com
Mon May 10 15:23:37 CEST 2010
Daniel-Constantin Mierla writes:
> > modules_k/permissions: fixed reloading of address table
> > - Database handle was not initialized when address table was reloaded.
> > Now it is initialized/closed at each reload. Looks like this has
> > never been tested before. Still don't know why mi_addr_child_init()
> > exists and what it is supposed to do.
> >
>
> are you using the command via MI transports or over RPC?
i tried with
sercmd mi address_reload
mi_addr_child_init() initializes db_handle, which i think is not
necessary now when reload_address_table does the same and checks that
the handle is not initialized. perhaps mi_addr_child_init() could be
deleted?
-- juha
More information about the sr-dev
mailing list