]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #4155 from pguibert6WIND/bfd_increase_config
authorRuss White <russ@riw.us>
Thu, 25 Apr 2019 22:48:35 +0000 (18:48 -0400)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2019 22:48:35 +0000 (18:48 -0400)
bfdd: avoid having bfd config inherited from operation context

1  2 
bfdd/bfd.h

diff --combined bfdd/bfd.h
index 28832e4c4831ba6798c43f7c5a561ab9538fa62b,78122baf7a152ed8874a3896f647fe033e9fb1be..e08a1ff724e8bec4ec5bafde7a3dd4b432b0a39f
@@@ -166,6 -166,7 +166,7 @@@ enum bfd_session_flags 
                                                 * expires
                                                 */
        BFD_SESS_FLAG_SHUTDOWN = 1 << 7,        /* disable BGP peer function */
+       BFD_SESS_FLAG_CONFIG = 1 << 8,  /* Session configured with bfd NB API */
  };
  
  #define BFD_SET_FLAG(field, flag) (field |= flag)
@@@ -308,8 -309,8 +309,8 @@@ TAILQ_HEAD(obslist, bfd_session_observe
  #define BFD_PKT_INFO_VAL 1
  #define BFD_IPV6_PKT_INFO_VAL 1
  #define BFD_IPV6_ONLY_VAL 1
 -#define BFD_SRCPORTINIT 49142
 -#define BFD_SRCPORTMAX 65536
 +#define BFD_SRCPORTINIT 49152
 +#define BFD_SRCPORTMAX 65535
  #define BFD_DEFDESTPORT 3784
  #define BFD_DEF_ECHO_PORT 3785
  #define BFD_DEF_MHOP_DEST_PORT 4784