diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-07-16 21:01:01 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-07-21 13:49:52 +0300 |
| commit | dcaed63d2fea3797111fac346367b15c0c8d7e6c (patch) | |
| tree | 613c877e437b520762214c87d303c9a7b224e563 /lib/module.h | |
| parent | 12e1fe1251db5a26e00c6b48b084a25b69c014e5 (diff) | |
ospfd: remove unnecessary memory allocation
ospf_distribute_list_update currently passes two arguments to
ospf_distribute_list_update_timer - pointer to the ospf structure and
protocol type. The protocol type is only used for logging and is not
even correct because if multiple changes happen during one
ospf->min_ls_interval, then only the type of the first change is logged.
It is better to completely remove the protocol type argument to have a
correct log and eliminate the need for memory allocation.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/module.h')
0 files changed, 0 insertions, 0 deletions
