]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: don't allow to set network type on loopback interfaces
authorChristian Franke <chris@opensourcerouting.org>
Thu, 11 Jul 2013 07:56:29 +0000 (07:56 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 14 May 2014 14:46:22 +0000 (16:46 +0200)
commit4b4bda9bb1913579bd54667f62fafe58e2746478
tree11b3a421f85686544d95425c13608736226a7225
parent7a9d983e4f961c2103f2cf82a51d5d8321ad0e43
ospfd: don't allow to set network type on loopback interfaces

OSPFd only allocates some stub information for loopback interfaces.
This causes a crash when the interface state machine is started on
that interface by configuring a different network type.

It doesn't make much sense to configure the network type of a loopback
interface, therefore, just forbid it.

See also bugzilla #670.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospfd/ospf_vty.c