diff options
| author | David Lamparter <equinox@diac24.net> | 2019-09-17 16:19:45 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-09-17 16:23:44 +0200 | 
| commit | 5aeb4f3c60789b09b5194da5ea63d036d6c80f6c (patch) | |
| tree | 1cf7852a577b5a6cd86b86c5e75e8c12f5c53c4b /ospf6d/ospf6_interface.h | |
| parent | e59733536272459193b5a149f160db92d9d0570f (diff) | |
ospf6d: track explicit interface type config
If the interface doesn't exist in system, we'll default to broadcast and
then later not change that when the interface comes up.  Explicitly
track whether the user configured the type and properly auto-set it if
they didn't.
Fixes: #3930
Fixes: #4873
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_interface.h')
| -rw-r--r-- | ospf6d/ospf6_interface.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h index e0c39a29b4..53a8910f4d 100644 --- a/ospf6d/ospf6_interface.h +++ b/ospf6d/ospf6_interface.h @@ -55,6 +55,7 @@ struct ospf6_interface {  	/* Network Type */  	uint8_t type; +	bool type_cfg;  	/* Router Priority */  	uint8_t priority;  | 
