diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-03 11:22:11 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-03 11:28:02 +0200 |
commit | a1afabff0fa8be39c917cd2fd879c4b68db49f42 (patch) | |
tree | f9c798a43da9c471d651a54a404944d3cb96f8a6 /src/validators/ipv6-prefix | |
parent | f03dd18529b8c20c2183ab27e81a8d38699cf3f1 (diff) | |
download | vyos-1x-a1afabff0fa8be39c917cd2fd879c4b68db49f42.tar.gz vyos-1x-a1afabff0fa8be39c917cd2fd879c4b68db49f42.zip |
interface: T2367: optimize flow and detriplicate add/del_addr functions
- detriplicate list appending
- detriplicate returns
- use if-elif-else
- move check if address is already added to beginning
- move caching in variable to after address assignment so a failed
assignment won't cache the address
Diffstat (limited to 'src/validators/ipv6-prefix')
0 files changed, 0 insertions, 0 deletions