You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
736 B

  1. From 3852468f402bf9070eb1c9bab16cb1119db52f63 Mon Sep 17 00:00:00 2001
  2. From: Julius Kriukas <julius@kriukas.lt>
  3. Date: Sun, 4 Feb 2018 21:35:52 +0200
  4. Subject: [PATCH] Add experimental meson build support
  5. ---
  6. src/storage.c | 2 +-
  7. 1 file changed, 1 insertions(+), 1 deletion(-)
  8. diff --git a/src/storage.c b/src/storage.c
  9. index c162496..8b7a77e 100644
  10. --- a/src/storage.c
  11. +++ b/src/storage.c
  12. @@ -76,7 +76,7 @@ struct ip_node *blacklist_match(uint8_t *ip_addr, uint8_t addr_len)
  13. return NULL;
  14. }
  15. -inline uint16_t pkt_hash(uint8_t *l2_addr, uint8_t *ip_addr, uint8_t len, uint16_t vlan_tag)
  16. +static inline uint16_t pkt_hash(uint8_t *l2_addr, uint8_t *ip_addr, uint8_t len, uint16_t vlan_tag)
  17. {
  18. int i;
  19. uint16_t sum;
  20. --
  21. 2.17.1