pppoe: fix coverity 218437, 218401 55/37055/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 31 Aug 2022 14:20:40 +0000 (14:20 +0000)
committerBeno�t Ganne <bganne@cisco.com>
Wed, 31 Aug 2022 15:29:35 +0000 (15:29 +0000)
commite4046528d412ff64bc1e0cfe3496a56119923718
tree36108dafcf653b24c8c7def45a9ac0157e51effc
parent62fc78761c2a1e023f9483a54776cc66332ecacc
pppoe: fix coverity 218437, 218401

Initialize the session index in case of error to ~0,
so is defined in case trace needs to copy it.

Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: Iddf6df42c09d2abc11e5821944eb4f41692e6e3e
src/plugins/pppoe/pppoe_decap.c