Skip to content

Commit

Permalink
Merge pull request #4993 from ton31337/fix/remove_trailing_whitespaces
Browse files Browse the repository at this point in the history
bgpd: Remove trailing whitespaces from some header files
  • Loading branch information
donaldsharp authored Sep 17, 2019
2 parents f0b7ed8 + 9ea364a commit b6534e2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions bgpd/bgp_open.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ struct graceful_restart_af {
/* Cooperative Route Filtering Capability. */

/* ORF Type */
#define ORF_TYPE_PREFIX 64
#define ORF_TYPE_PREFIX 64
#define ORF_TYPE_PREFIX_OLD 128

/* ORF Mode */
#define ORF_MODE_RECEIVE 1
#define ORF_MODE_SEND 2
#define ORF_MODE_BOTH 3
#define ORF_MODE_RECEIVE 1
#define ORF_MODE_SEND 2
#define ORF_MODE_BOTH 3

/* Capability Message Action. */
#define CAPABILITY_ACTION_SET 0
Expand Down
12 changes: 6 additions & 6 deletions bgpd/bgp_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ DECLARE_HOOK(bgp_packet_send,

/* When to refresh */
#define REFRESH_IMMEDIATE 1
#define REFRESH_DEFER 2
#define REFRESH_DEFER 2

/* ORF Common part flag */
#define ORF_COMMON_PART_ADD 0x00
#define ORF_COMMON_PART_REMOVE 0x80
#define ORF_COMMON_PART_REMOVE_ALL 0xC0
#define ORF_COMMON_PART_PERMIT 0x00
#define ORF_COMMON_PART_DENY 0x20
#define ORF_COMMON_PART_ADD 0x00
#define ORF_COMMON_PART_REMOVE 0x80
#define ORF_COMMON_PART_REMOVE_ALL 0xC0
#define ORF_COMMON_PART_PERMIT 0x00
#define ORF_COMMON_PART_DENY 0x20

/* Packet send and receive function prototypes. */
extern void bgp_keepalive_send(struct peer *);
Expand Down
4 changes: 2 additions & 2 deletions bgpd/bgp_route.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ struct bgp_path_info {
#define BGP_ROUTE_NORMAL 0
#define BGP_ROUTE_STATIC 1
#define BGP_ROUTE_AGGREGATE 2
#define BGP_ROUTE_REDISTRIBUTE 3
#define BGP_ROUTE_REDISTRIBUTE 3
#ifdef ENABLE_BGP_VNC
# define BGP_ROUTE_RFP 4
# define BGP_ROUTE_RFP 4
#endif
#define BGP_ROUTE_IMPORTED 5 /* from another bgp instance/safi */

Expand Down

0 comments on commit b6534e2

Please sign in to comment.