]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpcli: change how privileged commands are declared
authorVincent Bernat <vincent@bernat.im>
Thu, 10 Jul 2014 20:55:58 +0000 (22:55 +0200)
committerVincent Bernat <vincent@bernat.im>
Thu, 10 Jul 2014 20:55:58 +0000 (22:55 +0200)
commite13945c02c443c3783660e18dac0e6ec9d188524
treede5c3ffd3726113b1321a04a61a92c038726963e
parent40df69956ad0161f9226d006c1b3c8fb2ec168f6
lldpcli: change how privileged commands are declared

Even when not privileged, we declare privileged commands but tag them
accordingly. We need to be careful when executing the commands to check
the new bit.

This is a preliminary change to allow a completion command to complete
privileged commands even when not privileged.
src/client/client.h
src/client/commands.c
src/client/conf.c
src/client/lldpcli.c