]> git.ipfire.org Git - thirdparty/lldpd.git/log
thirdparty/lldpd.git
9 years agoversion: prepare 0.7.13 release 0.7.13
Vincent Bernat [Tue, 30 Dec 2014 13:11:49 +0000 (14:11 +0100)] 
version: prepare 0.7.13 release

9 years agoconfigure: let define pkg-config directory with `--with-pkgconfigdir`
Vincent Bernat [Mon, 29 Dec 2014 21:42:56 +0000 (22:42 +0100)] 
configure: let define pkg-config directory with `--with-pkgconfigdir`

This needs a recent version of pkg.m4. However, we provide a fallback if
not present.

Closes: #87
9 years agoman: `-I` option and the like also affect sending
Vincent Bernat [Mon, 15 Dec 2014 07:54:25 +0000 (08:54 +0100)] 
man: `-I` option and the like also affect sending

Instead of using `listen` to describe the `-I` option, specify that it
also used to decide which interfaces LLDP will be enabled on, both for
listening and sending.

9 years agolldp: fix display of unknown organizational ID
Vincent Bernat [Wed, 10 Dec 2014 16:09:30 +0000 (17:09 +0100)] 
lldp: fix display of unknown organizational ID

Because it was stored in a signed char array, it was incorrectly
displayed with the "%x" formatter. Store it into an unsigned char array.

9 years agolldpd: don't rely on a checksum to detect a port change
Vincent Bernat [Sat, 6 Dec 2014 23:05:53 +0000 (00:05 +0100)] 
lldpd: don't rely on a checksum to detect a port change

Instead, just compare the serialized copies. This is more reliable than
a checksum and also (a bit) faster.

9 years agolldpd: use a macro to define offset of permanent port info
Vincent Bernat [Sat, 6 Dec 2014 22:48:47 +0000 (23:48 +0100)] 
lldpd: use a macro to define offset of permanent port info

9 years agoNEWS: add an entry for the latest commit
Vincent Bernat [Fri, 5 Dec 2014 06:59:49 +0000 (07:59 +0100)] 
NEWS: add an entry for the latest commit

9 years agolldpd: fix coding style in latest commit
Vincent Bernat [Thu, 4 Dec 2014 22:15:46 +0000 (23:15 +0100)] 
lldpd: fix coding style in latest commit

9 years agoMerge pull request #84 from IcyMetric/master
Vincent Bernat [Thu, 4 Dec 2014 22:13:39 +0000 (23:13 +0100)] 
Merge pull request #84 from IcyMetric/master

Allow setting control socket on CLI

9 years agoAllow setting control socket on CLI 84/head
Robert Long [Thu, 4 Dec 2014 21:35:15 +0000 (13:35 -0800)] 
Allow setting control socket on CLI

9 years agolldpd: decrease probability of collisions on port checksums
Vincent Bernat [Thu, 4 Dec 2014 00:02:29 +0000 (01:02 +0100)] 
lldpd: decrease probability of collisions on port checksums

Instead of a 16-bit checksum, we use two 16-bit checkums, one for each
half of the serialized port. We now need more than 70000 ports to get a
50% chance of collision while we previously needed only 300 ports.

9 years agolldpd: decrease probability of collisions on port checksums
Vincent Bernat [Wed, 3 Dec 2014 23:56:51 +0000 (00:56 +0100)] 
lldpd: decrease probability of collisions on port checksums

Instead of wasting a whole bit (getting 2**15 valid values), just waste
one special value (2**16-1 valid values).

9 years agolldpd: really ensure that port checksum can never be 0
Vincent Bernat [Wed, 3 Dec 2014 21:28:03 +0000 (22:28 +0100)] 
lldpd: really ensure that port checksum can never be 0

9 years agolldpd: fix timer initialization when checksum is 0
Vincent Bernat [Wed, 3 Dec 2014 21:05:34 +0000 (22:05 +0100)] 
lldpd: fix timer initialization when checksum is 0

If the checksum computed over the port happens to be 0, the LLDPDU is
never scheduled for emission on this port. We ensure that a computed
checksum is never 0. If two different ports happen to have the same
checksum, we consider it unlikely enough to bear with the fact that the
timer will not be reset in this case.

9 years agomarshal: ensure we correctly handle signed result from serialization
Vincent Bernat [Wed, 3 Dec 2014 20:55:31 +0000 (21:55 +0100)] 
marshal: ensure we correctly handle signed result from serialization

We must handle correctly `ssize_t`. Try to not cast this to another
type, let alone a non signed type.

9 years agoxml: check that libxml-2 is really usable
Vincent Bernat [Mon, 1 Dec 2014 23:27:03 +0000 (00:27 +0100)] 
xml: check that libxml-2 is really usable

9 years agosnmp: `agent_init()` won't modify AgentX string
Vincent Bernat [Mon, 1 Dec 2014 22:34:44 +0000 (23:34 +0100)] 
snmp: `agent_init()` won't modify AgentX string

This fixes another compiler warning.

9 years agolib: silent a warning about uninitialized value
Vincent Bernat [Mon, 1 Dec 2014 22:32:40 +0000 (23:32 +0100)] 
lib: silent a warning about uninitialized value

This is a false positive as the value was guarded by another
value. Nevertheless, let's please the compiler.

9 years agoredhat: do not install the chroot
Vincent Bernat [Sat, 22 Nov 2014 20:15:01 +0000 (21:15 +0100)] 
redhat: do not install the chroot

SuSE doesn't allow it anymore. This is not needed since lldpd will do
it at start.

9 years agoredhat: requires pkg-config to build devel package
Vincent Bernat [Sat, 22 Nov 2014 19:58:27 +0000 (20:58 +0100)] 
redhat: requires pkg-config to build devel package

This is not really needed but SuSE is a bit picky in their checks.

9 years agorelease: prepare release of 0.7.12 0.7.12
Vincent Bernat [Sat, 22 Nov 2014 19:54:19 +0000 (20:54 +0100)] 
release: prepare release of 0.7.12

9 years agolib: fix pkgconfig file substitutions
Vincent Bernat [Sun, 9 Nov 2014 13:47:31 +0000 (14:47 +0100)] 
lib: fix pkgconfig file substitutions

9 years agoclient: fix "update" command
Vincent Bernat [Thu, 6 Nov 2014 18:15:20 +0000 (19:15 +0100)] 
client: fix "update" command

Commit e4c51716848a639daf61eff3e96ad242af3e316b broke this command
because we were checking for `tx_hold` instead of `tx_interval`. Let's
fix that.

9 years agotravis: travis comes with autotools and friends already installed
Vincent Bernat [Tue, 4 Nov 2014 21:06:49 +0000 (22:06 +0100)] 
travis: travis comes with autotools and friends already installed

If they are not quite up-to-date, we get an error, so don't try to
install them.

9 years agodebian: update symbol versioning for incompatibility of `lldpctl_atom_set_str()`
Vincent Bernat [Tue, 4 Nov 2014 19:52:12 +0000 (20:52 +0100)] 
debian: update symbol versioning for incompatibility of `lldpctl_atom_set_str()`

9 years agolib: bump versioning
Vincent Bernat [Tue, 4 Nov 2014 19:51:00 +0000 (20:51 +0100)] 
lib: bump versioning

Even if the ABI stays the same, the ability to pass NULL is an interface
change (backward compatible). We don't want new versions of lldpcli to
interact with an old version of the library.

9 years agolib: make it safe to pass NULL to `lldpctl_atom_set_str()`
Vincent Bernat [Tue, 4 Nov 2014 19:49:15 +0000 (20:49 +0100)] 
lib: make it safe to pass NULL to `lldpctl_atom_set_str()`

Even if we don't allow such a thing.

9 years agolib: document the possibility of using NULL with `lldpctl_atom_set_str()`
Vincent Bernat [Tue, 4 Nov 2014 19:49:00 +0000 (20:49 +0100)] 
lib: document the possibility of using NULL with `lldpctl_atom_set_str()`

9 years agolldpcli: allow to unset patterns and system description/hostname
Vincent Bernat [Tue, 4 Nov 2014 19:35:10 +0000 (20:35 +0100)] 
lldpcli: allow to unset patterns and system description/hostname

9 years agolib: replace macro by a function for `_lldpctl_atom_set_str_config()`
Vincent Bernat [Tue, 4 Nov 2014 14:25:21 +0000 (15:25 +0100)] 
lib: replace macro by a function for `_lldpctl_atom_set_str_config()`

9 years agolib: factor out some code in `_lldpctl_atom_set_str_config()` in a macro
Vincent Bernat [Tue, 4 Nov 2014 14:08:59 +0000 (15:08 +0100)] 
lib: factor out some code in `_lldpctl_atom_set_str_config()` in a macro

9 years agoNEWS: add an entry about some flags not being persistent accross time
Vincent Bernat [Sun, 2 Nov 2014 17:16:10 +0000 (18:16 +0100)] 
NEWS: add an entry about some flags not being persistent accross time

See e4c51716848a639daf61eff3e96ad242af3e316b.

9 years agobuild: hide renaming of template-generated files
Vincent Bernat [Sun, 2 Nov 2014 17:12:53 +0000 (18:12 +0100)] 
build: hide renaming of template-generated files

9 years agolldpd: use strdup() on arguments that could be changed by lldpcli
Vincent Bernat [Sun, 2 Nov 2014 17:10:55 +0000 (18:10 +0100)] 
lldpd: use strdup() on arguments that could be changed by lldpcli

And add the appropriate "const" modifier for those that don't. The
compiler should warn us if we did something wrong.

9 years agoclient: fix configuration modification
Vincent Bernat [Sun, 2 Nov 2014 15:25:21 +0000 (16:25 +0100)] 
client: fix configuration modification

Handling of configuration change was messy. Whatever configuration item
needed to be updated, a whole lldpd_config structure was sent. The
daemon part was trying to guess what changed by assuming non-0 fields
need to be updated. However, when flags were added, the implementation
became inconsistent. Some flags used 1/2 for true/false, some others
kept 0/1. So, some flags were detected as changed while they were not.

Since we require to provide a current configuration before making any
change, we just copy the whole structure, modify what we want and send
it to the daemon. The daemon will then compare the new structure with
the old one to detect changes. Flags that were using 1/2 logic are now
just using 0/1 like others.

9 years agolldpcli: pretty print json
kanna [Thu, 30 Oct 2014 12:34:03 +0000 (05:34 -0700)] 
lldpcli: pretty print json

Signed-off-by: Kanna Rajagopal <kanna@cumulusnetworks.com>
9 years agosystemd: fix systemd unit file
Vincent Bernat [Sun, 26 Oct 2014 17:40:32 +0000 (18:40 +0100)] 
systemd: fix systemd unit file

@sbindir@ was not properly replaced.

9 years agodebian: update symbols file
Vincent Bernat [Sun, 26 Oct 2014 17:32:56 +0000 (18:32 +0100)] 
debian: update symbols file

9 years agointerfaces: bond listening was broken only for old kernels
Vincent Bernat [Sun, 26 Oct 2014 10:31:34 +0000 (11:31 +0100)] 
interfaces: bond listening was broken only for old kernels

With a recent kernel, we can listen to individual member. lldpd is still
listening on master to keep compatibility with older kernels and because
it is difficult to detect if the kernel gives us this ability or not. We
can't rely on version numbers as some kernels have backported
features (like 2.6.18 from RHEL 5).

9 years agointerfaces: fix initialization of hardware h_data for bonds
Vincent Bernat [Sun, 26 Oct 2014 09:54:57 +0000 (10:54 +0100)] 
interfaces: fix initialization of hardware h_data for bonds

On discovery, the master index was not correctly initialized and
therefore, the information was not retrieved correctly and therefore
listening on bond devices was broken since 0.7.0 (netlink rewrite).

9 years agoframe: mention the licensing issue with POKE/PEEK macros
Vincent Bernat [Fri, 24 Oct 2014 23:07:42 +0000 (01:07 +0200)] 
frame: mention the licensing issue with POKE/PEEK macros

They were taken from ladvd but were originally based on the ones from
libcdp (under the Net::CDP umbrella) which is LGPLv2 licensed. To avoid
any grey area, the original author, Michael Chapman, kindly accepted to
relicense those under the ISC license.

Closes: #79
9 years agolldpcli: handle comments in tokenizer
Vincent Bernat [Sat, 18 Oct 2014 07:03:57 +0000 (09:03 +0200)] 
lldpcli: handle comments in tokenizer

This enables us to also ignore end-of-line comments. Completion is a bit
grumpy when done in comments but I doubt anyone would care.

9 years agoMerge pull request #77 from Authority1980/master
Vincent Bernat [Wed, 15 Oct 2014 16:19:03 +0000 (18:19 +0200)] 
Merge pull request #77 from Authority1980/master

Fixed SPEC file changelog dates

9 years agoFixed Changelog dates 77/head
Wes Hardin [Wed, 15 Oct 2014 14:55:52 +0000 (09:55 -0500)] 
Fixed Changelog dates

rpmbuild on RHEL7 checks for bogus changelog dates

9 years agolldpcli: don't complain when reading a commented line
Vincent Bernat [Tue, 14 Oct 2014 16:11:47 +0000 (18:11 +0200)] 
lldpcli: don't complain when reading a commented line

Since we ship a default configuration file with only a comment, this was
annoying.

9 years agoredhat: mark /var/run stuff as a ghost directory
Vincent Bernat [Wed, 8 Oct 2014 18:53:59 +0000 (20:53 +0200)] 
redhat: mark /var/run stuff as a ghost directory

9 years agoredhat: fix group tag
Vincent Bernat [Wed, 8 Oct 2014 18:35:36 +0000 (20:35 +0200)] 
redhat: fix group tag

Dunno if they are correct for Redhat, but they are correct for SuSE.

9 years agoredhat: provide a longer description for devel package
Vincent Bernat [Wed, 8 Oct 2014 18:31:25 +0000 (20:31 +0200)] 
redhat: provide a longer description for devel package

9 years agoredhat: fix RPM building on SuSE with respect to /usr/share/zsh
Vincent Bernat [Wed, 8 Oct 2014 18:31:00 +0000 (20:31 +0200)] 
redhat: fix RPM building on SuSE with respect to /usr/share/zsh

An empty directory have to be referenced.

9 years agoredhat: add completions for bash and zsh
Vincent Bernat [Wed, 8 Oct 2014 18:02:17 +0000 (20:02 +0200)] 
redhat: add completions for bash and zsh

9 years agoredhat: everything in /etc/lldpd.d is a configuration file
Vincent Bernat [Wed, 8 Oct 2014 18:01:18 +0000 (20:01 +0200)] 
redhat: everything in /etc/lldpd.d is a configuration file

9 years agoredhat: reference /etc/lldpd.d/README.conf
Vincent Bernat [Wed, 8 Oct 2014 17:57:17 +0000 (19:57 +0200)] 
redhat: reference /etc/lldpd.d/README.conf

We consider this is a configuration file event if it isn't.

9 years agoredhat: use appropriate macros for directory
Vincent Bernat [Wed, 8 Oct 2014 17:52:00 +0000 (19:52 +0200)] 
redhat: use appropriate macros for directory

9 years agorelease: prepare 0.7.11 0.7.11
Vincent Bernat [Wed, 8 Oct 2014 17:27:00 +0000 (19:27 +0200)] 
release: prepare 0.7.11

9 years agoman: sync lldpcli description of pattern matching
Vincent Bernat [Tue, 7 Oct 2014 08:13:26 +0000 (10:13 +0200)] 
man: sync lldpcli description of pattern matching

Manual page for lldpcli didn't specify the `!!` notation.

9 years agoman: say that by default only physical interfaces are used
Vincent Bernat [Tue, 7 Oct 2014 08:12:22 +0000 (10:12 +0200)] 
man: say that by default only physical interfaces are used

9 years agolldpd: check if capabilities are available/supported before enabling them
kanna [Mon, 6 Oct 2014 18:29:43 +0000 (11:29 -0700)] 
lldpd: check if capabilities are available/supported before enabling them

Different platforms can support different capabilities. we need to enable
only those that the platform can support

Signed-off-by: kanna <kanna@cumulusnetworks.com>
9 years agobuild: hide invocation of sed command to generate some files
Vincent Bernat [Mon, 6 Oct 2014 10:10:25 +0000 (12:10 +0200)] 
build: hide invocation of sed command to generate some files

Replace them with `AM_V_GEN`.

9 years agolldpd: also try /usr/lib/os-release if /etc/os-release is not present
Vincent Bernat [Mon, 6 Oct 2014 10:08:14 +0000 (12:08 +0200)] 
lldpd: also try /usr/lib/os-release if /etc/os-release is not present

Usually, `/etc/os-release` is a symlink to `/usr/lib/os-release` but on
some of them, programs are expected to fallback to
`/usr/lib/os-release`.

9 years agobuild: remove useless variables from pkgconfig file
Vincent Bernat [Sun, 5 Oct 2014 13:16:50 +0000 (15:16 +0200)] 
build: remove useless variables from pkgconfig file

Because the content of liblldpctl.pc is now fully expanded, the
variables at the top are now useless. Remove them.

9 years agobuild: use @sbindir@ instead of @prefix@/sbin
Vincent Bernat [Sun, 5 Oct 2014 13:16:30 +0000 (15:16 +0200)] 
build: use @sbindir@ instead of @prefix@/sbin

Thanks to the previous commit, this is now possible.

9 years agobuild: use AC_CONFIG_FILES only to generate Makefiles
Vincent Bernat [Sun, 5 Oct 2014 13:07:42 +0000 (15:07 +0200)] 
build: use AC_CONFIG_FILES only to generate Makefiles

Other kind of files may get partially expanded variables. For example,
`@sbindir@` is expanded to `${exec_prefix}/sbin` which won't work in a
regular configuration file.

While this could be done easily with GNU Make, using automake doesn't
allow us to use pattern rules or stuff like that. Therefore, there are a
lot of repetitions to declare the files we need to transform.

9 years agodebian: ship /etc/lldpd.d
Vincent Bernat [Sat, 4 Oct 2014 09:47:20 +0000 (11:47 +0200)] 
debian: ship /etc/lldpd.d

9 years agoclient: ship /etc/lldpd.d and put a README file in it
Vincent Bernat [Sat, 4 Oct 2014 09:46:49 +0000 (11:46 +0200)] 
client: ship /etc/lldpd.d and put a README file in it

9 years agobuild: allow use of older versions of json-c
Vincent Bernat [Fri, 3 Oct 2014 20:32:35 +0000 (22:32 +0200)] 
build: allow use of older versions of json-c

json-c library was first just named json. When requesting compilation
with json-c, also check for this library.

9 years agolib: don't check for NULL before free
Vincent Bernat [Fri, 3 Oct 2014 11:40:25 +0000 (13:40 +0200)] 
lib: don't check for NULL before free

9 years agolib: make a copy of state_data, since pointer can be re-used
kanna [Thu, 2 Oct 2014 22:20:52 +0000 (15:20 -0700)] 
lib: make a copy of state_data, since pointer can be re-used

make a copy of state_data, since pointer can be re-used and the comparison checks
can still give false positives

Signed-off-by: kanna <kanna@cumulusnetworks.com>
9 years agodebian: also install zsh completion
Vincent Bernat [Fri, 3 Oct 2014 06:17:50 +0000 (08:17 +0200)] 
debian: also install zsh completion

9 years agodebian: also install bash completion
Vincent Bernat [Fri, 3 Oct 2014 06:16:56 +0000 (08:16 +0200)] 
debian: also install bash completion

9 years agolldpd: abort when some options are repeated
Vincent Bernat [Tue, 30 Sep 2014 19:32:44 +0000 (21:32 +0200)] 
lldpd: abort when some options are repeated

Some options don't have to be repeated. Later options would override
earlier and this is usually an error. Better just abort in this case.

9 years agoRevert "debian: ship files in debian/etc/lldpd.d"
Vincent Bernat [Mon, 22 Sep 2014 20:49:27 +0000 (22:49 +0200)] 
Revert "debian: ship files in debian/etc/lldpd.d"

This reverts commit 8e9bf5cd846b462bc7811a58133811f9082779d9.

9 years agointerfaces: only use physical interfaces to get a chassis ID
Vincent Bernat [Thu, 18 Sep 2014 09:27:21 +0000 (11:27 +0200)] 
interfaces: only use physical interfaces to get a chassis ID

9 years agodebian: ship files in debian/etc/lldpd.d
Vincent Bernat [Wed, 17 Sep 2014 09:45:17 +0000 (11:45 +0200)] 
debian: ship files in debian/etc/lldpd.d

9 years agobuild: check if pkg-config is correctly installed in ./autogen.sh
Vincent Bernat [Fri, 5 Sep 2014 18:19:34 +0000 (20:19 +0200)] 
build: check if pkg-config is correctly installed in ./autogen.sh

Absence of pkg-config leads to some odd messages:

    configure.ac:27: error: possibly undefined macro: AC_SUBST
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.ac:163: error: possibly undefined macro: AC_MSG_FAILURE
    configure:21413: error: possibly undefined macro: AC_MSG_CHECKING
    configure:21418: error: possibly undefined macro: AC_TRY_LINK
    configure:21423: error: possibly undefined macro: AC_MSG_RESULT
    configure:21432: error: possibly undefined macro: AC_MSG_NOTICE
    configure:21894: error: possibly undefined macro: AC_PATH_TOOL
    configure:21896: error: possibly undefined macro: AC_MSG_ERROR
    configure:21975: error: possibly undefined macro: AC_DEFINE_UNQUOTED

We try to detect this situation by looking for `PKG_CHECK_MODULES` macro
in `aclocal.m4`. If not present, we issue some useful tips, like
installing the package or telling aclocal the location of
`pkg.m4` (mostly for OSX users).

9 years agobuild: check for needed commands in autogen.sh
Vincent Bernat [Fri, 5 Sep 2014 17:49:31 +0000 (19:49 +0200)] 
build: check for needed commands in autogen.sh

And display a more informative message.

9 years agobuild: provide a sysusers.d file
Vincent Bernat [Wed, 3 Sep 2014 23:02:39 +0000 (01:02 +0200)] 
build: provide a sysusers.d file

This allows systemd-sysusers to create _lldpd user/group. See:
 http://www.freedesktop.org/software/systemd/man/sysusers.d.html

This is currently untested.

9 years agolldpd: handle early cleanup in case interface cannot be created
Vincent Bernat [Sun, 31 Aug 2014 19:56:49 +0000 (21:56 +0200)] 
lldpd: handle early cleanup in case interface cannot be created

When an interface is about to be created but an external condition makes
it impossible, the cleanup may crash because the interface was
incomplete. Check things exist before cleanup.

9 years agolib: handle read failure in sync case
Vincent Bernat [Sun, 31 Aug 2014 19:53:54 +0000 (21:53 +0200)] 
lib: handle read failure in sync case

This amends the previous commit with a more concise condition.

9 years agolib: really correctly handle read failure
Vincent Bernat [Sun, 31 Aug 2014 19:53:17 +0000 (21:53 +0200)] 
lib: really correctly handle read failure

9 years agolldpcli: disable SIGPIPE
Vincent Bernat [Sun, 31 Aug 2014 05:35:06 +0000 (07:35 +0200)] 
lldpcli: disable SIGPIPE

We handle EOF inside the code.

9 years agolib: correctly handle read failure
Vincent Bernat [Sun, 31 Aug 2014 05:31:57 +0000 (07:31 +0200)] 
lib: correctly handle read failure

9 years agolib: stricter checks when resuming an operation in progress
Vincent Bernat [Sat, 30 Aug 2014 06:45:53 +0000 (08:45 +0200)] 
lib: stricter checks when resuming an operation in progress

When an operation is in progress, we used both state management and some
canary value to check if the user is resuming the right operation. The
canary was just a pointer and it was easy to get the same pointer as the
previous operation while not really resuming the previous operation. We
turn the check into a string comparison instead.

Moreover, add checks when setting configuration items too.

9 years agolldpcli: add editor local variables to bash completion
Vincent Bernat [Tue, 26 Aug 2014 15:58:53 +0000 (17:58 +0200)] 
lldpcli: add editor local variables to bash completion

9 years agolldpcli: add editor local variables to zsh completion
Vincent Bernat [Tue, 26 Aug 2014 15:58:00 +0000 (17:58 +0200)] 
lldpcli: add editor local variables to zsh completion

9 years agolldpcli: indent multiline texts (like system description)
Vincent Bernat [Tue, 12 Aug 2014 18:03:09 +0000 (20:03 +0200)] 
lldpcli: indent multiline texts (like system description)

This should fix #73 in an alternate way.

9 years agolldpcli: fix style convention to match other files
Vincent Bernat [Tue, 12 Aug 2014 17:45:14 +0000 (19:45 +0200)] 
lldpcli: fix style convention to match other files

There are still other files around with this convention that would need
to be fixed.

9 years agobash/zsh: ensure completions are present in dist tarball
Vincent Bernat [Sun, 3 Aug 2014 13:15:37 +0000 (15:15 +0200)] 
bash/zsh: ensure completions are present in dist tarball

9 years agoNEWS: add a word about bash/zsh completion
Vincent Bernat [Sun, 3 Aug 2014 10:33:52 +0000 (12:33 +0200)] 
NEWS: add a word about bash/zsh completion

9 years agozsh: add ZSH completion
Vincent Bernat [Sun, 3 Aug 2014 10:31:44 +0000 (12:31 +0200)] 
zsh: add ZSH completion

9 years agobash: move bash completion outside Debian packaging
Vincent Bernat [Sun, 3 Aug 2014 09:37:43 +0000 (11:37 +0200)] 
bash: move bash completion outside Debian packaging

9 years agorelease: new version 0.7.10
Vincent Bernat [Mon, 21 Jul 2014 19:53:22 +0000 (21:53 +0200)] 
release: new version 0.7.10

9 years agoNEWS: add a word about json-c library support 0.7.10
Vincent Bernat [Mon, 21 Jul 2014 16:06:54 +0000 (18:06 +0200)] 
NEWS: add a word about json-c library support

9 years agolldpcli: fix jansson implementation of the JSON output
Vincent Bernat [Mon, 21 Jul 2014 16:05:52 +0000 (18:05 +0200)] 
lldpcli: fix jansson implementation of the JSON output

9 years agoconfigure: if --with-json, default to jansson implementation
Vincent Bernat [Mon, 21 Jul 2014 16:01:49 +0000 (18:01 +0200)] 
configure: if --with-json, default to jansson implementation

9 years agocdp: complete manual page with CDP-related options
Vincent Bernat [Mon, 21 Jul 2014 16:00:51 +0000 (18:00 +0200)] 
cdp: complete manual page with CDP-related options

9 years agocdp: Make it possible to enable CDPv2 without enabling CDPv1 71/head
Michel Stam [Mon, 21 Jul 2014 15:30:28 +0000 (17:30 +0200)] 
cdp: Make it possible to enable CDPv2 without enabling CDPv1

9 years agolldpcli: Add json description to lldpcli usage
Michel Stam [Mon, 21 Jul 2014 15:10:21 +0000 (17:10 +0200)] 
lldpcli: Add json description to lldpcli usage

9 years agocdp: Add power requirement to CDPv2 frames
Michel Stam [Mon, 21 Jul 2014 14:40:41 +0000 (16:40 +0200)] 
cdp: Add power requirement to CDPv2 frames

LLDP already supports sending power requirements, for
IEEE 802.3at. Older Cisco PoE switches do not support
LLDP and need a custom CDPv2 frame. This patch enables
support if the LLDP MED PoE frame is also sent.

9 years agolldpcli: Add support for JSON-C
Michel Stam [Fri, 18 Jul 2014 15:00:32 +0000 (17:00 +0200)] 
lldpcli: Add support for JSON-C

OpenWRT is shipped with the JSON-C library, which is used for
several other packages. Having a separate JSON library (Jansson)
doing the exact same thing is wasting flash space.

9 years agolldpcli: make complete command work on privleged commands as well
Vincent Bernat [Sat, 12 Jul 2014 11:10:47 +0000 (13:10 +0200)] 
lldpcli: make complete command work on privleged commands as well

This avoids the use of sudo.