]> git.proxmox.com Git - mirror_frr.git/commit
isisd: fix point-to-point network type config
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 11:29:29 +0000 (12:29 +0100)
commit2e29ab9cce6539a5dcccf4c5768a6f0799387d73
tree86248948f193107f5fc7ca20033aed714026d885
parente4587bc559f863428b3380648e3ab157eb31dee8
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