summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_network.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-08-10 17:35:29 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 20:02:05 +0000
commit6017c3a2e71304381af5cfa5020b4a1358ee098b (patch)
tree2b1aa729781515f759cead26ff44ca73d34b4faa /ospf6d/ospf6_network.c
parent09c866e34dd6f1725ff5a2354017c13485c2c755 (diff)
lib: add frr_elevate_privs() wrapper
Used as: frr_elevate_privs(&my_privs) { ... code ... } and handles privilege raise/lower automatically in conjunction with the C expression block. This makes it impossible to accidentally exit a function with privileges raised (and then running a whole bunch of other code with privs.) Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospf6d/ospf6_network.c')
0 files changed, 0 insertions, 0 deletions