Skip to content

Change in bridge/setup_ip_tables.go#670

Merged
mavenugo merged 1 commit intomoby:masterfrom
aboch:it
Mar 15, 2016
Merged

Change in bridge/setup_ip_tables.go#670
mavenugo merged 1 commit intomoby:masterfrom
aboch:it

Conversation

@aboch
Copy link
Contributor

@aboch aboch commented Oct 16, 2015

  • With the transition to ipam, bridge ip address stored
    in bridgeInterface is guaranteed to be the ip of the
    OS bridge by the setupBridgeIPv4 step function.
    Therefore the setupIPTables() step function no
    longer needs to fetch the address from the OS.

This removes unnecessary syscalls to the OS
and removes the code which may cause confusion.

Signed-off-by: Alessandro Boch [email protected]

- With the transition to ipam, bridge ip address stored
  in `bridgeInterface` is guaranteed to be the ip of the
  OS bridge by the `setupBridgeIPv4` step function.
  Therefore the `setupIPTables()` step function no
  longer needs to fetch the address from the OS.

Signed-off-by: Alessandro Boch <[email protected]>
@aboch aboch closed this Mar 14, 2016
@aboch aboch reopened this Mar 14, 2016
@chenchun
Copy link
Contributor

LGTM

1 similar comment
@mavenugo
Copy link
Contributor

LGTM

mavenugo added a commit that referenced this pull request Mar 15, 2016
Change in bridge/setup_ip_tables.go
@mavenugo mavenugo merged commit dc5c00b into moby:master Mar 15, 2016
akerouanton added a commit to akerouanton/docker that referenced this pull request Feb 9, 2023
- GetIfaceAddr is unused since moby/libnetwork#670
- ValidateAlias and ParseAlias are unused since moby#42539

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Feb 16, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Feb 16, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Mar 2, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Mar 2, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Mar 6, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Mar 31, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Mar 31, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
akerouanton added a commit to akerouanton/docker that referenced this pull request Apr 6, 2023
- GetIfaceAddr is unused since moby/libnetwork@e51ead59
  (moby/libnetwork#670).
- ValidateAlias and ParseAlias are unused since moby/moby@0645eb84
  (moby#42539).

Signed-off-by: Albin Kerouanton <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants