[Bug 198571] net-mgmt/lldpd: runtime issues when using lldpd_flags

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 14 23:34:49 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198571

--- Comment #3 from jason.unovitch at gmail.com ---
(In reply to mathieu.sim from comment #2)

To answer your part of you question, after removing the rc.d script's
duplication of the -I flag, here's what I see.  The results are from setting
the flags shown, doing a 'service lldpd restart', and showing only the
interface/transmitted lines of 'lldpcli show stat' for brevity.  I am trusting
the lldpcli output and haven't checked with tcpdump as you mentioned just yet. 
I'll check that later on and get back with you.

** Explicitly setting an interface ensures only that is used **
lldpd_flags="-I em0"

LLDP statistics:
Interface:    em0
  Transmitted:  1

** Explicitly blacklisting an interface but not using a wildcard results in no
interfaces being used **
lldpd_flags="-I !em3"

LLDP statistics:
(no interfaces are shown)

** Using a wildcard and blacklisting an interface results in everything but
that interface being used **

lldpd_flags="-I *,!em3"
LLDP statistics:
Interface:    em0
  Transmitted:  1
Interface:    em1
  Transmitted:  1
Interface:    em2
  Transmitted:  1
Interface:    wlan0
  Transmitted:  1

** Not using -I results in all interfaces being used **
lldpd_flags=""

LLDP statistics:
Interface:    em0
  Transmitted:  1
Interface:    em1
  Transmitted:  1
Interface:    em2
  Transmitted:  1
Interface:    em3
  Transmitted:  1
Interface:    wlan0
  Transmitted:  1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list