[sr-dev] git:4.2:e759e5c8: core: init vars for socket ttl helper function to avoid warnings