[OpenSIPS-Devel] [OpenSIPS/opensips] a764ea: drouting: Tolerate a	NULL dr_rules.gwlist
    Liviu Chircu 
    noreply at github.com
       
    Fri Jan 29 06:38:07 EST 2021
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a764ea3e6827b17b8125afb58fa9beabd627022b
      https://github.com/OpenSIPS/opensips/commit/a764ea3e6827b17b8125afb58fa9beabd627022b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-01-29 (Fri, 29 Jan 2021)
  Changed paths:
    M modules/drouting/dr_load.c
  Log Message:
  -----------
  drouting: Tolerate a NULL dr_rules.gwlist
In build_rt_info(), there is a NULL check anyway:
    if ( dstlst && dstlst[0]!=0 ) {
... so this patch can only do good, by making the code compatible with
even more flavours of the `dr_rules` table.
    
    
More information about the Devel
mailing list