Skip to contentSkip to conversation

pfkey_send_new_mapping()

PATCH Applied Michal Ludvig 2 participants 2 messages Apr 1, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pfkey_send_new_mapping()

Hi,

this is a fix for an obvious typo in $SUBJ. Please apply.

Michal Ludvig

Signature · 3 lines
SUSE Labs                    [email protected] | Cray is the only computer
(+420) 296.545.373        http://www.suse.cz | that runs an endless loop
Personal homepage http://www.logix.cz/michal | in just four hours.
net/key/af_key.c +1 -1
diff -rup linux-2.6.4/net/key/af_key.c linux-2.6.4/net/key/af_key.c
@@ -2636,7 +2636,7 @@ static int pfkey_send_new_mapping(struct
 	addr->sadb_address_len = 
 		(sizeof(struct sadb_address)+sockaddr_size)/
 			sizeof(uint64_t);
-	addr->sadb_address_exttype = SADB_EXT_ADDRESS_SRC;
+	addr->sadb_address_exttype = SADB_EXT_ADDRESS_DST;
 	addr->sadb_address_proto = 0;
 	addr->sadb_address_reserved = 0;
 	if (x->props.family == AF_INET) {
#1 lore raw
Quoted 1 line · On Thu, 01 Apr 2004 14:23:10 +0200 Michal Ludvig <[email protected]> wrote:

this is a fix for an obvious typo in $SUBJ. Please apply.

Applied, thanks Michal.