diff options
-rw-r--r-- | net/decnet/af_decnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 7d6ff983ba2c..7aab5d088c72 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c | |||
@@ -192,7 +192,7 @@ static int check_port(__le16 port) | |||
192 | static unsigned short port_alloc(struct sock *sk) | 192 | static unsigned short port_alloc(struct sock *sk) |
193 | { | 193 | { |
194 | struct dn_scp *scp = DN_SK(sk); | 194 | struct dn_scp *scp = DN_SK(sk); |
195 | static unsigned short port = 0x2000; | 195 | static unsigned short port = 0x2000; |
196 | unsigned short i_port = port; | 196 | unsigned short i_port = port; |
197 | 197 | ||
198 | while(check_port(cpu_to_le16(++port)) != 0) { | 198 | while(check_port(cpu_to_le16(++port)) != 0) { |