summaryrefslogtreecommitdiff
path: root/src/completion
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-03 11:22:11 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-03 11:28:02 +0200
commita1afabff0fa8be39c917cd2fd879c4b68db49f42 (patch)
treef9c798a43da9c471d651a54a404944d3cb96f8a6 /src/completion
parentf03dd18529b8c20c2183ab27e81a8d38699cf3f1 (diff)
downloadvyos-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/completion')
0 files changed, 0 insertions, 0 deletions