diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-08-23 21:51:57 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-08-23 21:51:57 +0100 |
commit | 746d0f8febe166a3d5bad03a84ca4e33d1bcfe34 (patch) | |
tree | 8fb0d6d2d7066bdbc54f3540fa9564c0ad290127 /src/net/ipv6.c | |
parent | 01b755704a7ebc235d4e4413e631e97ee1b997e2 (diff) | |
parent | f92096d1800f3d9ec7e90cc9bb0e0874569fab50 (diff) | |
download | ipxe-746d0f8febe166a3d5bad03a84ca4e33d1bcfe34.tar.gz |
Merge commit 'holger/strings'
Diffstat (limited to 'src/net/ipv6.c')
-rw-r--r-- | src/net/ipv6.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c index a91cb069..c07ff94c 100644 --- a/src/net/ipv6.c +++ b/src/net/ipv6.c @@ -52,11 +52,10 @@ static LIST_HEAD ( miniroutes ); * @v gateway Gateway address (or ::0 for no gateway) * @ret miniroute Routing table entry, or NULL */ -static struct ipv6_miniroute * add_ipv6_miniroute ( struct net_device *netdev, - struct in6_addr prefix, - int prefix_len, - struct in6_addr address, - struct in6_addr gateway ) { +static struct ipv6_miniroute * __malloc +add_ipv6_miniroute ( struct net_device *netdev, struct in6_addr prefix, + int prefix_len, struct in6_addr address, + struct in6_addr gateway ) { struct ipv6_miniroute *miniroute; miniroute = malloc ( sizeof ( *miniroute ) ); |