openflow-controller 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/controller.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e865176056800f3486f417a149aefd928491d779
4
- data.tar.gz: 8910ff7c835f1a707bdd452069b062d024860ff1
3
+ metadata.gz: 109e1c4911c835a90566e9c2224d057e23f12468
4
+ data.tar.gz: fecc6e282c364e83adba7df511c94b8c5139652d
5
5
  SHA512:
6
- metadata.gz: eacd369f614388bc65050b8e9bdc34c3d946ddf3f34615fdb59440e5ed1e7969f314a10394584880a83daba57eee23057b923cca1da3326e3d20925d0ae3b86d
7
- data.tar.gz: d7e5bc00439c20698ad7f3cabacbd139b81d52cf0ba06ebb4fadb7aacb0d2adcbd8674abda27a65b354e1e1777e8798d40aa093cfae42017758fcff19b273271
6
+ metadata.gz: 761495183bcae351fa9bf46a316687f8b313e92e1c11088679c3aeb56261584eaa647a1fd9c582a6ee393bd8aedc7cb9f83db6ab1548b4ccd432bed2e656194f
7
+ data.tar.gz: cfe6b8c90161837ac64dcd7507d5a07906bc6beda68de255280be5903ab2429f791a239c64407c8b1fddd7cc6ef8452b56c3a3024ff2ea93519ced28bcbca771
data/lib/controller.rb CHANGED
@@ -42,6 +42,7 @@ class OFController
42
42
  def run(ip, port, *args)
43
43
  maybe_send_handler :start, *args
44
44
  socket = TCPServer.open(ip, port)
45
+ socket.setsockopt(:SOCKET, :REUSEADDR, true)
45
46
  logger.info "Controller running on #{ip}:#{port}."
46
47
  start_timers
47
48
  loop { start_switch_thread socket.accept }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openflow-controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jérémy Pagé
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2015-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: openflow-protocol