summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorBrandon Stepler <brandon@stepler.net>2021-07-29 14:30:00 -0400
committerBrandon Stepler <brandon@stepler.net>2021-07-29 14:30:00 -0400
commit3341c591ad1190f39ff3ffd475eddf5d95aef763 (patch)
treec50d2ad77f6e9b9a612b43a550bbb67357ed91f0 /src/op_mode
parent65765fe95a34d81ad4a3aedb035936bbaf6a3f0e (diff)
downloadvyos-1x-3341c591ad1190f39ff3ffd475eddf5d95aef763.tar.gz
vyos-1x-3341c591ad1190f39ff3ffd475eddf5d95aef763.zip
configd: T3694: always set script.argv
Several scripts imported by vyos-configd (including src/conf_mode/protocols_static.py) rely on argv for operating on VRFs. Always setting script.argv in src/services/vyos-configd ensures those scripts will operate on the default VRF when called with no arguments. Otherwise, a stale argv might cause those scripts to operate on the last modified VRF instead of the default VRF.
Diffstat (limited to 'src/op_mode')
0 files changed, 0 insertions, 0 deletions