diff options
author | Neale Ranns <neale@graphiant.com> | 2022-01-09 13:24:47 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-01-09 14:32:30 +0000 |
commit | 9d33cfc0bc1928f0b4c8aa95c170cf91ee8011a0 (patch) | |
tree | ecf02868928c67abaa349c36fbe406f93dd47a83 /test/vpp_srv6.py | |
parent | 221be7c03f8daf5b9c00b2509ebbf2c6e7e6232d (diff) |
vppinfra: Check for NULL vec before the backwards iteration
Type: improvement
'vec_end(v) - 1' does not yield a good starting point. Check for NULL vec before the loop, so the user does not have to.
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: Ia174ec8095bc476853cce709a7048d7a3e3b377d
Diffstat (limited to 'test/vpp_srv6.py')
0 files changed, 0 insertions, 0 deletions