Ticket #211 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

set default route with iproute2

Reported by: www.google.com/accounts/o8/id?id=aitoawnkemnibwcnrfiigjn1qsrrlrj2stbf8dc Owned by: roy
Priority: trivial Milestone:
Component: rc Version: 0.5
Keywords: Cc: b0ntrict0r@yandex.ru

Description

I have tested a patch which will allow the default route to be set with iproute2. The patch is at  http://dpaste.com/129997.

Change History

comment:1 Changed 8 months ago by roy.marples.name

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 8 months ago by www.google.com/accounts/o8/id?id=aitoawmuflwlut1qn6vu58cezbpyityqcjvthy4

  • Cc b0ntrict0r@yandex.ru added
  • Priority changed from major to trivial
  • Status changed from closed to reopened
  • Resolution fixed deleted
Index: init.d/network.in
===================================================================
--- a/init.d/network.in
+++ b/init.d/network.in
@@ -256,4 +256,8 @@
                 fi
                 eend $?
+        elif [ -n "$defaultiproute" ]; then
+                ebegin "Setting default route $defauliptroute"
+                ip route add default via $defaultiproute
+                eend $?
         fi

There's a typo on the line

+                ebegin "Setting default route $defauliptroute"

defauliptroute, should be defaultiproute.

comment:3 Changed 8 months ago by roy.marples.name

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.