]> git.puffer.fish Git - mirror/frr.git/commit
[zebra] Make BSD link-state deal more gracefully with GIFMEDIA ioctl error
authorPaul Jakma <paul.jakma@sun.com>
Tue, 1 Jul 2008 18:24:58 +0000 (18:24 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Tue, 1 Jul 2008 18:24:58 +0000 (18:24 +0000)
commit0b3f3d47b21ddf175bfdd549ba33fbcd34801244
treeec788e51c7dadeb5469313b6d3819690b468bbab
parentce9c3cc5d96ea417727347923a42f10d56e631fd
[zebra] Make BSD link-state deal more gracefully with GIFMEDIA ioctl error

2008-07-01 Paul Jakma <paul.jakma@sun.com>

* ioctl.c: (if_get_flags) Deal more gracefully with failure
  of the BSD link-state SIOCGIFMEDIA ioctl, as some interfaces
  apparently don't implement it (e.g. tun).
  Also, make BSD link-state checking be conditional on the
  'link-detect' interface configuration flag, as it should be.
  Fixes bug #465.
zebra/ChangeLog
zebra/ioctl.c