]> git.puffer.fish Git - mirror/frr.git/commit
isisd: fix point-to-point network type config 3573/head
authorEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 7 Jan 2019 11:29:29 +0000 (12:29 +0100)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 7 Jan 2019 14:37:20 +0000 (15:37 +0100)
commit33fcc8200818d02c88c95720e5acc0598e5a8877
treece1f3243dc93c2db9d32bd428ae21c4e370aa012
parentc05f659a58466dd1a8dfe2a2ebbefeeb0b9c8ee0
isisd: fix point-to-point network type config

`isis network point-to-point` was being rejected from the configuration
file as it was being processed before the reception of the UP zebra
notification for the interface. This meant that the `circ_type` was set
at CIRCUIT_T_UNKNOWN, which led the northbound callback to fail. This
check was removed as it was not really necessary; when the zebra
notification is received, the correct circuit type will be enforced,
but now the point-to-point config will be saved and correctly applied
when zebra recognizes the interface as a broadcast one.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
isisd/isis_northbound.c